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

Method throw

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

Source from the content-addressed store, hash-verified

209 },
210
211 async throw() {
212 state.detached = true;
213 state.resolve = null;
214 state.reject = null;
215 if (self.#deleteConsumer(state)) {
216 self.#tryTrimBuffer();
217 }
218 return { __proto__: null, done: true, value: undefined };
219 },
220 };
221 },
222 };

Calls 2

#deleteConsumerMethod · 0.45
#tryTrimBufferMethod · 0.45

Tested by

no test coverage detected