angular / 16 / api / core / untracked.html

untracked

function developer preview

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

untracked<T>(nonReactiveReadsFn: () => T): T

Parameters
nonReactiveReadsFn () => T
Returns

T

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v16.angular.io/api/core/untracked