MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / pipeOnDrain

Function pipeOnDrain

MathBox/mathbox-core.js:3510–3518  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

3508};
3509
3510function pipeOnDrain(src) {
3511 return function() {
3512 var dest = this;
3513 var state = src._readableState;
3514 state.awaitDrain--;
3515 if (state.awaitDrain === 0)
3516 flow(src);
3517 };
3518}
3519
3520function flow(src) {
3521 var state = src._readableState;

Callers 1

mathbox-core.jsFile · 0.70

Calls 1

flowFunction · 0.70

Tested by

no test coverage detected