Skip to main content

EffectContext

class EffectContext extends DependencyContext

Constructors

constructor

public override new EffectContextcallback: () => void: EffectContext

Parameters

Overwrites DependencyContext.constructor

Methods

dispose

public dispose(): void
Inherited from DependencyContext.dispose

toPromise

public toPromise(): PromiseEffectContext
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