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

Method return

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

Source from the content-addressed store, hash-verified

546 },
547
548 return() {
549 state.detached = true;
550 if (self.#deleteConsumer(state)) {
551 self.#tryTrimBuffer();
552 }
553 return { __proto__: null, done: true, value: undefined };
554 },
555
556 throw() {
557 state.detached = true;

Callers

nothing calls this directly

Calls 2

#deleteConsumerMethod · 0.45
#tryTrimBufferMethod · 0.45

Tested by

no test coverage detected