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

Method constructor

packages/zone.js/lib/zone-spec/async-test.ts:32–41  ·  view source on GitHub ↗
(
    private finishCallback: Function,
    private failCallback: Function,
    namePrefix: string,
  )

Source from the content-addressed store, hash-verified

30 supportWaitUnresolvedChainedPromise = false;
31
32 constructor(
33 private finishCallback: Function,
34 private failCallback: Function,
35 namePrefix: string,
36 ) {
37 this.name = 'asyncTestZone for ' + namePrefix;
38 this.properties = {'AsyncTestZoneSpec': this};
39 this.supportWaitUnresolvedChainedPromise =
40 __global[__symbol__('supportWaitUnResolvedChainedPromise')] === true;
41 }
42
43 isUnresolvedChainedPromisePending() {
44 return this.unresolvedChainedPromiseCount > 0;

Callers

nothing calls this directly

Calls 1

__symbol__Function · 0.90

Tested by

no test coverage detected