MCPcopy Create free account
hub / github.com/angular/dev-infra / onAborted

Function onAborted

github-actions/bazel/configure-remote/configure-remote.js:14735–14751  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

14733 }
14734 };
14735 const stream = new ReadableStream(
14736 {
14737 start(controller) {
14738 return __async(this, null, function* () {
14739 fetchParams.controller.controller = controller;
14740 });
14741 },
14742 pull(controller) {
14743 return __async(this, null, function* () {
14744 yield pullAlgorithm(controller);
14745 });
14746 },
14747 cancel(reason) {
14748 return __async(this, null, function* () {
14749 yield cancelAlgorithm(reason);
14750 });
14751 },
14752 type: "bytes"
14753 }
14754 );

Callers

nothing calls this directly

Calls 5

isAbortedFunction · 0.70
isReadableFunction · 0.70
isErrorLikeFunction · 0.70
errorMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected