MCPcopy
hub / github.com/di-sukharev/opencommit / onDrain

Function onDrain

out/cli.cjs:55148–55155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55146 try {
55147 if (!writer.write(chunk) && this.pause) {
55148 this.pause();
55149 }
55150 } catch (err) {
55151 util4.destroy(this, err);
55152 }
55153 };
55154 const onDrain = function() {
55155 if (finished) {
55156 return;
55157 }
55158 if (body.resume) {

Callers

nothing calls this directly

Calls 1

resumeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…