MCPcopy Index your code
hub / github.com/nodejs/node / next

Function next

lib/internal/streams/readable.js:1386–1393  ·  view source on GitHub ↗
(resolve)

Source from the content-addressed store, hash-verified

1384 let callback = nop;
1385
1386 function next(resolve) {
1387 if (this === stream) {
1388 callback();
1389 callback = nop;
1390 } else {
1391 callback = resolve;
1392 }
1393 }
1394
1395 stream.on('readable', next);
1396

Callers 2

pumpFunction · 0.70
nextMethod · 0.50

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…