@angular/core

untracked

function

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

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