Skip to content

Glossary: Angular Beyond the Basics

takeUntilDestroyed

Also written: DestroyRef

An operator that completes a stream when the component is destroyed. Call it in a field initializer or constructor, or pass it a `DestroyRef`.

Where the book teaches it

Related terms

SubscriptionLifecycle hooksInjection context