A utility class that provides methods to run functions inside or outside of Angular's NgZone. This can be useful for optimizing performance by avoiding unnecessary change detection cycles.
ngZoneRun<
T
>(fn
):T
Run the input function synchronously within the Angular zone
• T
• fn
a function to run
T
the value returned by the function