MCPcopy Index your code
hub / github.com/angular/angular / waitFor

Method waitFor

packages/benchpress/test/sampler_spec.ts:250–256  ·  view source on GitHub ↗
(callback: Function)

Source from the content-addressed store, hash-verified

248 super();
249 }
250 override waitFor(callback: Function): Promise<any> {
251 if (this._waitFor != null) {
252 return this._waitFor(callback);
253 } else {
254 return Promise.resolve(callback());
255 }
256 }
257}
258
259class MockValidator extends Validator {

Callers

nothing calls this directly

Calls 2

resolveMethod · 0.65
callbackFunction · 0.50

Tested by

no test coverage detected