MCPcopy Create free account
hub / github.com/angular/angular / phase

Method phase

packages/compiler-cli/src/ngtsc/perf/src/api.ts:397–397  ·  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

395 * @returns the previous phase
396 */
397 phase(phase: PerfPhase): PerfPhase;
398
399 /**
400 * 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