@angular/core/rxjs-interop

takeUntilDestroyed

function

Operator which completes the Observable when the calling context (component, directive, service, etc) is destroyed.

  
    function takeUntilDestroyed(  destroyRef?: DestroyRef): MonoTypeOperatorFunction<T>;
  
  
Jump to details