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

Method shift

github-actions/browserstack/set-browserstack-env.js:8341–8348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8339 }
8340 function resume(client, sync) {
8341 if (client[kResuming] === 2) {
8342 return;
8343 }
8344 client[kResuming] = 2;
8345 _resume(client, sync);
8346 client[kResuming] = 0;
8347 if (client[kRunningIdx] > 256) {
8348 client[kQueue].splice(0, client[kRunningIdx]);
8349 client[kPendingIdx] -= client[kRunningIdx];
8350 client[kRunningIdx] = 0;
8351 }

Callers

nothing calls this directly

Calls 2

shiftMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected