MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / assertWritableStream

Function assertWritableStream

out/cli.cjs:12098–12102  ·  view source on GitHub ↗
(x5, context)

Source from the content-addressed store, hash-verified

12096 return (chunk, controller) => promiseCall(fn, original, [chunk, controller]);
12097 }
12098 function assertWritableStream(x5, context) {
12099 if (!IsWritableStream(x5)) {
12100 throw new TypeError(`${context} is not a WritableStream.`);
12101 }
12102 }
12103 function isAbortSignal(value) {
12104 if (typeof value !== "object" || value === null) {
12105 return false;

Callers 2

constructorMethod · 0.85

Calls 1

IsWritableStreamFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…