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

Function ondrain

lib/internal/streams/legacy.js:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 source.on('data', ondata);
27
28 function ondrain() {
29 if (source.readable && source.resume) {
30 source.resume();
31 }
32 }
33
34 dest.on('drain', ondrain);
35

Callers 1

cleanupFunction · 0.70

Calls 1

resumeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…