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

Function WritableStreamFinishInFlightCloseWithError

out/cli.cjs:12391–12399  ·  view source on GitHub ↗
(stream4, error)

Source from the content-addressed store, hash-verified

12389 }
12390 }
12391 function WritableStreamFinishInFlightCloseWithError(stream4, error) {
12392 stream4._inFlightCloseRequest._reject(error);
12393 stream4._inFlightCloseRequest = void 0;
12394 if (stream4._pendingAbortRequest !== void 0) {
12395 stream4._pendingAbortRequest._reject(error);
12396 stream4._pendingAbortRequest = void 0;
12397 }
12398 WritableStreamDealWithRejection(stream4, error);
12399 }
12400 function WritableStreamCloseQueuedOrInFlight(stream4) {
12401 if (stream4._closeRequest === void 0 && stream4._inFlightCloseRequest === void 0) {
12402 return false;

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…