MCPcopy Create free account
hub / github.com/TruthHun/BookStack / onend

Function onend

static/word2md/mammoth.browser.js:24105–24113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24103
24104// the no-half-open enforcer
24105function onend() {
24106 // if we allow half-open state, or if the writable side ended,
24107 // then we're ok.
24108 if (this.allowHalfOpen || this._writableState.ended) return;
24109
24110 // no more data can be written.
24111 // But allow more writes to happen in this tick.
24112 processNextTick(onEndNT, this);
24113}
24114
24115function onEndNT(self) {
24116 self.end();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected