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: PromiseHandlenullT
static public collectPromisepromise: PromiseTinitialValue: T: PromiseHandleT

Parameters


consumePromises

static public consumePromises(): PromisePromiseHandleany[]

hasPromises

static public hasPromises(): boolean