Optional
opts: { label?: string; parent?: Scope }Optional label and parent Scope.
DestroyRef
is destroyed.DestroyRef
exists.takeUntilDestroyed()
for RxJS cleanup.
See Angular API for details. https://angular.dev/api/core/rxjs-interop/takeUntilDestroyed
Inject a Scope that is bound to the current Angular injection context.