Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Inoutlet<I, O>

Type parameters

  • I

  • O

Hierarchy

Implemented by

Index

Methods

bindInput

  • bindInput(input: Outlet<I> | null): void

bindOutput

  • bindOutput(output: Inlet<O>): void
  • Adds an output to the set of Inlets that depend on the state of this Outlet. The output will be invalidated when the state of this Outlet is invalidated, and updated when this Outlet is updated.

    Parameters

    • output: Inlet<O>

    Returns void

disconnectInputs

  • disconnectInputs(): void

disconnectOutputs

  • disconnectOutputs(): void

get

  • get(): O | undefined

input

  • input(): Outlet<I> | null

invalidateInput

  • invalidateInput(): void

invalidateOutput

  • invalidateOutput(): void
  • Marks this Inlet—and the Streamlet to which this Inlet is attached—as having stale state. Invalidating an Inlet will recursively invalidate all streamlets that transitively depend on the state of this Inlet. Invalidating an Inlet does not cause its state to be recomputed. A subsequent reconcileOutput call will reconcile the state of the Inlet.

    Returns void

map

memoize

  • memoize(): Outlet<O>

outputIterator

reconcileInput

  • reconcileInput(version: number): void

reconcileOutput

  • reconcileOutput(version: number): void

unbindInput

  • unbindInput(): void

unbindOutput

  • unbindOutput(output: Inlet<O>): void

unbindOutputs

  • unbindOutputs(): void

watch