We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3dd943 commit 8a78fcbCopy full SHA for 8a78fcb
test/parallel/test-stream-unshift-empty-chunk.js
@@ -11,7 +11,7 @@ var nChunks = 10;
11
var chunk = Buffer.alloc(10, 'x');
12
13
r._read = function(n) {
14
- setTimeout(function() {
+ setImmediate(function() {
15
r.push(--nChunks === 0 ? null : chunk);
16
});
17
};
0 commit comments