MCPcopy Create free account
hub / github.com/UI5/webcomponents / onend

Function onend

packages/main/test/pages/diffable-html.js:5981–5989  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5979
5980 // the no-half-open enforcer
5981 function onend() {
5982 // if we allow half-open state, or if the writable side ended,
5983 // then we're ok.
5984 if (this.allowHalfOpen || this._writableState.ended) return;
5985
5986 // no more data can be written.
5987 // But allow more writes to happen in this tick.
5988 pna.nextTick(onEndNT, this);
5989 }
5990
5991 function onEndNT(self) {
5992 self.end();

Callers

nothing calls this directly

Calls 1

endMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…