Connects this Inlet
to an Outlet
from which it will acquire its
state. If this Inlet
is already connected, it will first disconnect
from its existing input. Then, after updating its input property,
the Inlet
will invoke Outlet.bindOutput on its new input
.
Disconnects all Inlet
s dominated by this Inlet
in the dataflow
dependency graph. Used to recursively clean up chains of combinators
terminating at this Inlet
.
Disconnects all Outlet
s dominated by this Inlet
in the dataflow graph.
Used to recursively clean up chains of combinators passing through this
Inlet
.
Returns the Outlet
from which this Inlet
acquires its state; returns
null
if this Inlet
is disconnected.
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
.
Reconciles the state of this Inlet
, if the version of this Inlet
's
state differs from the target version
. To reconcile its state, the
Inlet
first invokes Outlet.reconcileInput on its input, to
ensure that its input is up-to-date. It then invokes
Streamlet.reconcile on the Streamlet
to which it's attached,
causing the Streamlet
to reconcile its own state.
Disconnects this Inlet
from its input Outlet
, if connected. After
setting its input property to null
, the Inlet
will invoke
Outlet.unbindOutput on its old input, if defined.
Input connector into a Streamlet. An
Inlet
represents a source from which aStreamlet
acquires state.In order for an
Inlet
to provide state to itsStreamlet
, it must bind to an input source. The input source of anInlet
is an Outlet of some otherStreamlet
. The bindInput method "plugs" theInlet
into anOutlet
. The unbindInput method "unplugs" theInlet
from its connectedOutlet
.The state of an
Inlet
has an integral version. When its version is negative, the state of theInlet
is considered invalid. When any state on which anInlet
transitively depends changes, theInlet
will be [[invalidatOutput invalidated]]. Invalidation does not immediately cause anInlet
to recompute its state. Instead, a separate reconcile step causes all of the invalid paths in the dataflow graph passing through theInlet
to reconcile their state.