Creates a bounded queue that is bound by supplied max size bound.
Creates a bounded queue that is bound by supplied max size bound. Please see org.specs2.codata.async.mutable.Queue for more details.
The maximum size of the queue (must be > 0)
Flag controlling automatic dequeue error recovery semantics. When false (the default), data may be lost in the event of an error during dequeue. When true, data will never be lost on dequeue, but concurrent dequeue processes may see data out of order under certain error conditions.
Builds a queue that functions as a circular buffer.
Builds a queue that functions as a circular buffer. Up to size
elements of
type A
will accumulate on the queue and then it will begin overwriting
the oldest elements. Thus an enqueue process will never wait.
The size of the circular buffer (must be > 0)
Creates a new continuous signal which may be controlled asynchronously,
and immediately sets the value to initialValue
.
Create a new continuous signal which may be controlled asynchronously.
Create a new continuous signal which may be controlled asynchronously. Note that this would block any resulting processes (discrete, continuous) until any signal value is set.
Converts discrete process to signal.
Converts discrete process to signal.
Note that resulting signal will terminate as soon as source terminates,
propagating reason for the termination to all downstream
processes
failure
discrete process publishing values to this signal
Creates an unbounded queue.
Creates an unbounded queue. see specs2.codata.async.mutable.Queue for more
Create a new continuous signal which may be controlled asynchronously.
Create a new continuous signal which may be controlled asynchronously. Note that this would block any resulting processes (discrete, continuous) until any signal value is set.
(Since version 0.7.0) Use signalOf or signalUnset instead