mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Rather than attempting to use the native timing functions, this commit simplifies the logic significantly by using the global timer functions as they are, either patched or unpatched. When Zone is defined, we run the timers in the root zone. This has more predictable behavior and timing than (a) using both patched and unpatched versions of timers in different places (b) trying to get an unpatched timer and failing due to environment specifics and patches that aren't ZoneJS. We will try to update the coalescing behavior of ZoneJS in a future PR to also just use the patched version of the timers instead of the "fakeTopEvent" workaround with the native timers. PR Close #55367 |
||
|---|---|---|
| .. | ||
| global | ||
| primitives | ||
| reference-manifests | ||
| rxjs-interop | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||