MCPcopy Index your code
hub / github.com/nodejs/node / writableStreamDefaultWriterAbort

Function writableStreamDefaultWriterAbort

lib/internal/webstreams/writablestream.js:1070–1076  ·  view source on GitHub ↗
(writer, reason)

Source from the content-addressed store, hash-verified

1068}
1069
1070function writableStreamDefaultWriterAbort(writer, reason) {
1071 const {
1072 stream,
1073 } = writer[kState];
1074 assert(stream !== undefined);
1075 return writableStreamAbort(stream, reason);
1076}
1077
1078function writableStreamDefaultControllerWrite(controller, chunk, chunkSize) {
1079 try {

Callers 1

abortMethod · 0.85

Calls 2

writableStreamAbortFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected