Skip to main content

Interface: OnDestroyMixin

Hierarchy​

  • OnDestroy

    ↳ OnDestroyMixin

Constructors​

constructor​

• constructor: Object

Inherited from​

OnDestroy.constructor

Properties​

onDestroy$​

• onDestroy$: Observable<void>

Defined in​

libs/ng-core/src/lib/mixins/on-destroy.mixin.ts:9


subSink​

• subSink: Subscription

Defined in​

libs/ng-core/src/lib/mixins/on-destroy.mixin.ts:10

Methods​

emptySink​

â–¸ emptySink(): void

Returns​

void

Defined in​

libs/ng-core/src/lib/mixins/on-destroy.mixin.ts:13


firstUntilDestroyed​

â–¸ firstUntilDestroyed<T>(): MonoTypeOperatorFunction<T>

Type parameters​

Name
T

Returns​

MonoTypeOperatorFunction<T>

Defined in​

libs/ng-core/src/lib/mixins/on-destroy.mixin.ts:12


ngOnDestroy​

â–¸ ngOnDestroy(): void

A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

Returns​

void

Inherited from​

OnDestroy.ngOnDestroy

Defined in​

node_modules/@angular/core/core.d.ts:5167


untilDestroyed​

â–¸ untilDestroyed<T>(): MonoTypeOperatorFunction<T>

Type parameters​

Name
T

Returns​

MonoTypeOperatorFunction<T>

Defined in​

libs/ng-core/src/lib/mixins/on-destroy.mixin.ts:11