function
developer preview
Operator which completes the Observable when the calling context (component, directive, service, etc) is destroyed.
takeUntilDestroyed<T>(destroyRef?: DestroyRef): MonoTypeOperatorFunction<T>
destroyRef | DestroyRef | optionally, the Optional. Default is |
MonoTypeOperatorFunction<T>
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/rxjs-interop/takeUntilDestroyed