Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MapInletOutlet<K, V, I, O>

Type parameters

  • K

  • V

  • I

  • O

Hierarchy

  • MapInlet<K, V, I>
  • Outlet<O>
    • MapInletOutlet

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

invalidateOutputKey

  • invalidateOutputKey(key: K, effect: KeyEffect): void

map

memoize

  • memoize(): Outlet<O>

outputIterator

reconcileInput

  • reconcileInput(version: number): void

reconcileOutput

  • reconcileOutput(version: number): void

reconcileOutputKey

  • reconcileOutputKey(key: K, version: number): void

unbindInput

  • unbindInput(): void

unbindOutput

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

unbindOutputs

  • unbindOutputs(): void

watch