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

Function WritableStreamDefaultControllerError

out/cli.cjs:12906–12910  ·  view source on GitHub ↗
(controller, error)

Source from the content-addressed store, hash-verified

12904 return desiredSize <= 0;
12905 }
12906 function WritableStreamDefaultControllerError(controller, error) {
12907 const stream4 = controller._controlledWritableStream;
12908 WritableStreamDefaultControllerClearAlgorithms(controller);
12909 WritableStreamStartErroring(stream4, error);
12910 }
12911 function streamBrandCheckException$2(name) {
12912 return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`);
12913 }

Callers 2

errorMethod · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…