| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent eca12d4 commit b87fe25
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ var chunk = new Buffer(10); | |||
| 12 | 12 | chunk.fill('x'); | |
| 13 | 13 | ||
| 14 | 14 | r._read = function(n) { | |
| 15 | - setTimeout(function() { | ||
| 15 | + setImmediate(function() { | ||
| 16 | 16 | r.push(--nChunks === 0 ? null : chunk); | |
| 17 | 17 | }); | |
| 18 | 18 | }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments