@angular/core

untracked

function

Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function can, optionally, return a value.

untracked(
nonReactiveReadsFn: () => T
): T;
Jump to details