Class: Dataflow::Port
- Includes:
- Dataflow
- Defined in:
- lib/vendor/dataflow/dataflow/port.rb
Defined Under Namespace
Classes: Stream
Constant Summary collapse
- LOCK =
Mutex.new
Constants included from Dataflow
Instance Method Summary collapse
-
#initialize(x) ⇒ Port
constructor
Create a stream object, bind it to the input variable Instance variables are necessary because @end is state.
-
#send(value) ⇒ Object
This needs to be synchronized because it uses @end as state.
Methods included from Dataflow
#barrier, #by_need, #flow, included, #local, #need_later, #unify