angular/packages/core
Andrew Scott e6425f7bc1 refactor(core): use patched timers in root zone for zoneless scheduler (#55367)
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
2024-04-16 16:31:19 -07:00
..
global docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
primitives feat(core): Modify EventType from an enum to an object. (#55323) 2024-04-16 15:36:45 +02:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop docs: Use new Urls to drop the docs url mapper (#55043) 2024-04-09 12:23:09 -07:00
schematics fix(compiler): remove support for unassignable expressions in two-way bindings (#55342) 2024-04-16 17:26:09 +02:00
src refactor(core): use patched timers in root zone for zoneless scheduler (#55367) 2024-04-16 16:31:19 -07:00
test feat(core): Add zoneless change detection provider as experimental (#55329) 2024-04-16 20:51:25 +02:00
testing Revert "fix(core): TestBed should not override NgZone from initTestEnvironment (#55226)" (#55286) 2024-04-10 10:37:42 -07:00
BUILD.bazel test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
PACKAGE.md
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00