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

Function onData

github-actions/browserstack/set-browserstack-env.js:6762–6773  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

6760 if (request.completed) {
6761 if (request.upgrade || request.method === "CONNECT") {
6762 util.destroy(socket, new InformationalError("aborted"));
6763 }
6764 return;
6765 }
6766 util.errorRequest(client, request, error || new RequestAbortedError());
6767 util.destroy(body);
6768 util.destroy(socket, new InformationalError("aborted"));
6769 };
6770 try {
6771 request.onConnect(abort);
6772 } catch (err) {
6773 util.errorRequest(client, request, err);
6774 }
6775 if (request.aborted) {
6776 return false;

Callers

nothing calls this directly

Calls 3

writeMethod · 0.45
destroyMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected