takeUntilDestroyed
function
Operator which completes the Observable when the calling context (component, directive, service, etc) is destroyed.
API
function takeUntilDestroyed<T>( destroyRef?: DestroyRef | undefined): MonoTypeOperatorFunction<T>;
Jump to details