Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Outlet<O>

Output connector from a Streamlet. An Outlet represents a sink to which a Streamlet provides state.

An Outlet has a one-to-many relationship with a set of output sinks. An output sink of an Outlet is an Inlet of some other Streamlet. The bindOutput method "plugs" an Inlet into the Outlet. The unbindOutput method "unplugs" an Inlet from the Outlet.

Type parameters

  • O

Hierarchy

Implemented by

Index

Methods

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

    Returns void

disconnectInputs

  • disconnectInputs(): void
  • Disconnects all Inlets dominated by this Outlet in the dataflow dependency graph. Used to recursively clean up chains of combinators passing through this Outlet.

    Returns void

disconnectOutputs

  • disconnectOutputs(): void

get

  • get(): O | undefined

invalidateInput

  • invalidateInput(): void

map

memoize

outputIterator

reconcileInput

  • reconcileInput(version: number): void

unbindOutput

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

unbindOutputs

  • unbindOutputs(): void

watch