Skip to main content

Class: DestructManager

Constructors

constructor

new DestructManager()

Accessors

isDestructing

get isDestructing(): boolean

Returns

boolean

Methods

destruct

destruct(): Promise<void>

Returns

Promise<void>


observeIsDestructing

observeIsDestructing(): Observable<void>

Returns

Observable<void>


onDestruct

onDestruct(fn): void

Parameters

NameType
fnDestructorFn

Returns

void


onPreDestruct

onPreDestruct(fn): void

Parameters

NameType
fnDestructorFn

Returns

void


reportDestructed

reportDestructed(): void

Returns

void