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

Method throw

lib/internal/streams/iter/share.js:556–562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

554 },
555
556 throw() {
557 state.detached = true;
558 if (self.#deleteConsumer(state)) {
559 self.#tryTrimBuffer();
560 }
561 return { __proto__: null, done: true, value: undefined };
562 },
563 };
564 },
565 };

Callers

nothing calls this directly

Calls 2

#deleteConsumerMethod · 0.45
#tryTrimBufferMethod · 0.45

Tested by

no test coverage detected