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

Function return

lib/internal/streams/iter/push.js:665–668  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

663 return queue.read();
664 },
665 async return() {
666 queue.consumerReturn();
667 return { __proto__: null, done: true, value: undefined };
668 },
669 async throw(error) {
670 queue.consumerThrow(error);
671 return { __proto__: null, done: true, value: undefined };

Callers

nothing calls this directly

Calls 1

consumerReturnMethod · 0.80

Tested by

no test coverage detected