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

Function trackTriggerForDebugging

packages/core/src/defer/utils.ts:191–196  ·  view source on GitHub ↗
(tView: TView, tNode: TNode, textRepresentation: string)

Source from the content-addressed store, hash-verified

189 * @param textRepresentation Text representation of the trigger to be used for debugging purposes.
190 */
191export function trackTriggerForDebugging(tView: TView, tNode: TNode, textRepresentation: string) {
192 const tDetails = getTDeferBlockDetails(tView, tNode);
193 tDetails.debug ??= {};
194 tDetails.debug.triggers ??= new Set();
195 tDetails.debug.triggers.add(textRepresentation);
196}

Callers 15

ɵɵdeferWhenFunction · 0.90
ɵɵdeferPrefetchWhenFunction · 0.90
ɵɵdeferHydrateWhenFunction · 0.90
ɵɵdeferHydrateNeverFunction · 0.90
ɵɵdeferOnIdleFunction · 0.90
ɵɵdeferPrefetchOnIdleFunction · 0.90
ɵɵdeferHydrateOnIdleFunction · 0.90
ɵɵdeferOnImmediateFunction · 0.90
ɵɵdeferOnTimerFunction · 0.90
ɵɵdeferPrefetchOnTimerFunction · 0.90

Calls 2

getTDeferBlockDetailsFunction · 0.85
addMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…