Skip to main content

DeferredEffectContext

class DeferredEffectContext extends DependencyContext

Constructors

constructor

public override new DeferredEffectContextcallback: () => void: DeferredEffectContext

Parameters

Overwrites DependencyContext.constructor

Methods

dispose

public override dispose(): void
Overwrites DependencyContext.dispose

toPromise

public toPromise(): PromiseDeferredEffectContext
Inherited from DependencyContext.toPromise

collectPromise

static public collectPromiseTpromise: PromiseT: PromiseHandlenullT
static public collectPromiseTpromise: PromiseTinitialValue: T: PromiseHandleT

Type Parameters

Parameters

Inherited from DependencyContext.collectPromise

consumePromises

static public consumePromises(): PromisePromiseHandleany[]
Inherited from DependencyContext.consumePromises

hasPromises

static public hasPromises(): boolean
Inherited from DependencyContext.hasPromises