MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / pipeOnDrain

Function pipeOnDrain

MathBox/mathbox-bundle.js:50195–50203  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

50193};
50194
50195function pipeOnDrain(src) {
50196 return function() {
50197 var dest = this;
50198 var state = src._readableState;
50199 state.awaitDrain--;
50200 if (state.awaitDrain === 0)
50201 flow(src);
50202 };
50203}
50204
50205function flow(src) {
50206 var state = src._readableState;

Callers 1

mathbox-bundle.jsFile · 0.70

Calls 1

flowFunction · 0.70

Tested by

no test coverage detected