Skip to main content

DependencyContext

class DependencyContextTOwner = void implements PromisableDependencyContextTOwner

Type Parameters

Extended by

  • ComputedContext
  • DeferredEffectContext
  • EffectContext
  • SignalContext

Constructors​

constructor​

public new DependencyContextowner: TOwner: DependencyContextTOwner

Parameters

Methods​

dispose​

public dispose(): void

toPromise​

public toPromise(): PromiseDependencyContextTOwner

collectPromise​

static public collectPromisepromise: PromiseT: PromiseHandleTnull
static public collectPromisepromise: PromiseTinitialValue: T: PromiseHandleT

Parameters


consumePromises​

static public consumePromises(): PromisePromiseHandleany[]

hasPromises​

static public hasPromises(): boolean