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

Function abort

github-actions/browserstack/set-browserstack-env.js:6672–6679  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

6670 const socket = client[kSocket];
6671 clearIdleSocketValidation(socket);
6672 const abort = (err) => {
6673 if (request.aborted || request.completed) {
6674 return;
6675 }
6676 util.errorRequest(client, request, err || new RequestAbortedError());
6677 util.destroy(body);
6678 util.destroy(socket, new InformationalError("aborted"));
6679 };
6680 try {
6681 request.onConnect(abort);
6682 } catch (err) {

Callers 12

onConnectMethod · 0.70
writeBufferFunction · 0.70
writeBlobFunction · 0.70
destroyMethod · 0.70
writeH2Function · 0.70
writeStreamFunction · 0.70
writeIterableFunction · 0.70
onConnectMethod · 0.70
addSignalFunction · 0.70
onHeadersMethod · 0.70
constructorMethod · 0.70
onConnectFunction · 0.70

Calls 8

removeSignalFunction · 0.70
destroyMethod · 0.45
abortMethod · 0.45
derefMethod · 0.45
unregisterMethod · 0.45
getMethod · 0.45
clearMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected