Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77cbf09 commit bd78c4fCopy full SHA for bd78c4f
lib/internal/cluster/utils.js
@@ -6,7 +6,7 @@ module.exports = {
6
};
7
8
const callbacks = new Map();
9
-var seq = 0;
+let seq = 0;
10
11
function sendHelper(proc, message, handle, cb) {
12
if (!proc.connected)
@@ -29,7 +29,7 @@ function internal(worker, cb) {
29
if (message.cmd !== 'NODE_CLUSTER')
30
return;
31
32
- var fn = cb;
+ let fn = cb;
33
34
if (message.ack !== undefined) {
35
const callback = callbacks.get(message.ack);
0 commit comments