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

Method phase

packages/compiler-cli/src/ngtsc/perf/src/api.ts:392–392  ·  view source on GitHub ↗

* Set the current phase of compilation. * * Time spent in the previous phase will be accounted to that phase. The caller is responsible for * exiting the phase when work that should be tracked within it is completed, and either returning * to the previous phase or transitioning to the ne

(phase: PerfPhase)

Source from the content-addressed store, hash-verified

390 * @returns the previous phase
391 */
392 phase(phase: PerfPhase): PerfPhase;
393
394 /**
395 * Run `fn` in the given `PerfPhase` and return the result.

Callers 5

createTransformersMethod · 0.65
constructorMethod · 0.65
constructorMethod · 0.65
phaseMethod · 0.65
inPhaseMethod · 0.65

Implementers 3

NoopPerfRecorderpackages/compiler-cli/src/ngtsc/perf/s
ActivePerfRecorderpackages/compiler-cli/src/ngtsc/perf/s
DelegatingPerfRecorderpackages/compiler-cli/src/ngtsc/perf/s

Calls

no outgoing calls

Tested by

no test coverage detected