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
Name | Type |
---|---|
fn | DestructorFn |
Returns
void
onPreDestruct
▸ onPreDestruct(fn
): void
Parameters
Name | Type |
---|---|
fn | DestructorFn |
Returns
void
reportDestructed
▸ reportDestructed(): void
Returns
void