Skip to main content
class DependencyContextTOwner = void implements PromisableDependencyContextTOwner

Type Parameters

Extended by

  • ComputedContext
  • DeferredEffectContext
  • EffectContext
  • SignalContext

Constructors​

constructor​

public new DependencyContextTOwner = voidowner: TOwner: DependencyContextTOwner

Type Parameters

Parameters

Methods​

dispose​

public dispose(): void

toPromise​

public toPromise(): PromiseDependencyContextTOwner

collectPromise​

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

Type Parameters

Parameters


consumePromises​

static public consumePromises(): PromisePromiseHandleany[]

hasPromises​

static public hasPromises(): boolean