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

Function method

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

Source from the content-addressed store, hash-verified

135 }
136 };
137 var method = (k2) => it[k2] = (x) => new Promise((yes, no) => resume(k2, x, yes, no));
138 var it = {};
139 return generator = generator.apply(__this, __arguments), it[__knownSymbol("asyncIterator")] = () => it, method("next"), method("throw"), method("return"), it;
140 };

Callers 3

__asyncGeneratorFunction · 0.70
__yieldStarFunction · 0.70
__forAwaitFunction · 0.70

Calls 1

resumeFunction · 0.70

Tested by

no test coverage detected