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

Function removeSignal

github-actions/browserstack/set-browserstack-env.js:10228–10239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10226 if (body) {
10227 this.body = null;
10228 util.destroy(body, err);
10229 }
10230 if (this.removeAbortListener) {
10231 res == null ? void 0 : res.off("close", this.removeAbortListener);
10232 this.removeAbortListener();
10233 this.removeAbortListener = null;
10234 }
10235 }
10236 };
10237 function request(opts, callback) {
10238 if (callback === void 0) {
10239 return new Promise((resolve2, reject) => {
10240 request.call(this, opts, (err, data) => {
10241 return err ? reject(err) : resolve2(data);
10242 });

Callers 5

abortFunction · 0.70
onCompleteMethod · 0.70
onErrorMethod · 0.70
constructorMethod · 0.70
onUpgradeMethod · 0.70

Calls 1

removeListenerMethod · 0.45

Tested by

no test coverage detected