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

Function resume_

lib/internal/streams/readable.js:1275–1286  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

1273}
1274
1275function resume_(stream, state) {
1276 debug('resume', (state[kState] & kReading) !== 0);
1277 if ((state[kState] & kReading) === 0) {
1278 stream.read(0);
1279 }
1280
1281 state[kState] &= ~kResumeScheduled;
1282 stream.emit('resume');
1283 flow(stream);
1284 if ((state[kState] & (kFlowing | kReading)) === kFlowing)
1285 stream.read(0);
1286}
1287
1288Readable.prototype.pause = function() {
1289 const state = this._readableState;

Callers

nothing calls this directly

Calls 4

flowFunction · 0.70
debugFunction · 0.50
readMethod · 0.45
emitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…