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

Function complete

lib/internal/webstreams/readablestream.js:1529–1534  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1527 complete();
1528
1529 function complete() {
1530 PromisePrototypeThen(
1531 action(),
1532 () => finalize(rejected, originalError),
1533 (error) => finalize(true, error));
1534 }
1535 }
1536
1537 function shutdown(rejected, error) {

Callers 1

shutdownWithAnActionFunction · 0.70

Calls 2

actionFunction · 0.85
finalizeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…