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

Function ondrain

lib/_http_client.js:545–551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

543}
544
545function ondrain() {
546 const msg = this._httpMessage;
547 if (msg && !msg.finished && msg[kNeedDrain]) {
548 msg[kNeedDrain] = false;
549 msg.emit('drain');
550 }
551}
552
553function socketCloseListener() {
554 const socket = this;

Callers

nothing calls this directly

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…