Returns true when the observable chain feeding a .subscribe() call is
piped through an operator that completes it (takeUntil,
takeUntilDestroyed, take, first).
Part of the shared subscription leak heuristics used by
architecture:rxjs-memory-leak and angular:performance-violation
(plugin-angular), so both rules agree on which subscriptions are safe:
Returns true when the observable chain feeding a
.subscribe()call is piped through an operator that completes it (takeUntil, takeUntilDestroyed, take, first).Part of the shared subscription leak heuristics used by
architecture:rxjs-memory-leakandangular:performance-violation(plugin-angular), so both rules agree on which subscriptions are safe:.pipe(takeUntil(...)),.pipe(takeUntilDestroyed(...)).pipe(take(<n>)),.pipe(first(...))(complete on their own)toSignal(...),firstValueFrom(...),lastValueFrom(...)are not.subscribe()calls and therefore never reportedDestroyRef.onDestroy(...)(hasDestroyRefCleanup)