mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Similar to `DestroyRef`, this adds the `destroyed` property to `EnvironmentInjector`. It also has the ability to register callbacks with `onDestroy`, which throws if `destroyed` is already `true`. This also omits the bit about whether those callbacks have executed since I realized the property is set to `true` before executing the callbacks. PR Close #61951 |
||
|---|---|---|
| .. | ||
| primitives | ||
| rxjs-interop | ||
| testing | ||
| errors.api.md | ||
| global_utils.api.md | ||
| index.api.md | ||