Connects the Inlet
of this Streamlet
, identified by the given key
to
the input
from which the Inlet
should acquire its state. Delegates to
Inlet.bindInput on the identified Inlet
.
Disconnects all Inlet
s dominated by this Streamlet
in the dataflow
dependency graph. Used to recursively clean up chains of combinators
terminating at this Streamlet
.
Disconnects all Inlets
s dominated by this Streamlet
in the dataflow
graph. Used to recursively clean up chains of combinators originating
from this Streamlet
.
Returns the Inlet
to this Streamlet
identified by the given key
;
returns null
if this Streamlet
has no such Inlet
.
Marks this Streamlet
—and all of its outlets—as having stale state.
Invalidating a Streamlet
will recursively invalidate all streamlets
that transitively depend on the state of this Streamlet
. Invalidating
a Streamlet
does not cause its state to be recomputed. A subsequent
reconcile call will reconcile the state of the Streamlet
.
Returns the Outlet
of this Streamlet
identified by the given key
;
returns null
if this Streamlet
has no such Outlet
.
Reconciles the state of this Streamlet
, if the version of this
Streamlet
's state differs from the target version
. To reconcile its
state, the Streamlet
first invokes Inlet.reconcileOutput on each of
its inlets, to ensure that its input states are up-to-date. It then
recomputes its own state, in an implementation defined manner. Finally,
it invokes Outlet.reconcileInput on its outlets, causing all
transitively dependent streamlets to reconcile their own state.
Sets the environment in which this Streamlet
operates.
Sets the lexically scoped parent of this Streamlet
.
Returns the environment in which this Streamlet
operates.
Returns the lexically scoped parent of this Streamlet
. Returns null
if this Streamlet
has no lexical parent.
Disconnects the Inlet
of this Streamlet
, identified by the given
key
, from its input Outlet
, if connected. Delegates
to Inlet.unbindInput on the identified Inlet
.
Stateful node in a dataflow graph that uses the state of its inlets to compute the state of its Outlets.