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

Function emitDrain

github-actions/browserstack/set-browserstack-env.js:8212–8215  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

8210 });
8211 }
8212 };
8213 var createRedirectInterceptor = require_redirect_interceptor();
8214 function onError(client, err) {
8215 if (client[kRunning] === 0 && err.code !== "UND_ERR_INFO" && err.code !== "UND_ERR_SOCKET") {
8216 assert(client[kPendingIdx] === client[kRunningIdx]);
8217 const requests = client[kQueue].splice(client[kRunningIdx]);
8218 for (let i = 0; i < requests.length; i++) {

Callers 1

_resumeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected