mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit removes a custom `whenStable` util in favor of standard `ApplicationRef.whenStable` API. There is also an important different between the custom `whenStable` function and `ApplicationRef.whenStable` implementation: the `whenStable` was caching the "stable" promise on per-ApplicationRef basis, which resulted in unexpected behavior with zoneless, when some code ended up getting a stale resolved promise, when an application was not stable yet, this causing order of operations issues. This commit also has an extra test that covers that case. PR Close #58834 |
||
|---|---|---|
| .. | ||
| backend.ts | ||
| client.ts | ||
| context.ts | ||
| errors.ts | ||
| fetch.ts | ||
| headers.ts | ||
| interceptor.ts | ||
| jsonp.ts | ||
| module.ts | ||
| params.ts | ||
| private_export.ts | ||
| provider.ts | ||
| request.ts | ||
| response.ts | ||
| transfer_cache.ts | ||
| xhr.ts | ||
| xsrf.ts | ||