interface developer preview
A global reactive effect, which can be manually destroyed.
interface EffectRef {
destroy(): void
} | destroy() |
|---|
| Shut down the effect, removing it from any upcoming scheduled executions. |
|
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/EffectRef