* Executes the `fn` function synchronously in Angular's parent zone and returns value returned by * the function. * * Running functions via #runOutsideAngular allows you to escape Angular's zone and do * work that * doesn't trigger Angular change-detection or is subject to Ang
(fn: (...args: any[]) => T)
| 279 | * Use {@link #run} to reenter the Angular zone and do work that updates the application model. |
| 280 | */ |
| 281 | runOutsideAngular<T>(fn: (...args: any[]) => T): T { |
| 282 | return (this as any as NgZonePrivate)._outer.run(fn); |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | const EMPTY_PAYLOAD = {}; |
no test coverage detected