Class: Polyphony::Channel
Overview
Implements a unidirectional communication channel along the lines of Go (buffered) channels.
Instance Method Summary collapse
-
#close ⇒ Object
Closes the channel, resuming any fibers waiting on the channel with a Polyphony::MoveOn exception.
Methods inherited from Queue
#<<, #cap, #capped?, #clear, #closed?, #delete, #deq, #empty?, #enq, #flush_waiters, #initialize, #length, #num_waiting, #pending?, #pop, #push, #shift, #shift_all, #shift_each, #size, #unshift
Constructor Details
This class inherits a constructor from Polyphony::Queue