Convert from an Actor accepting message.queue.Msg[A] messages
to a Queue[A].
Convert from an Actor accepting message.queue.Msg[A] messages
to a Queue[A].
Create a source that may be added to or halted asynchronously
using the returned Queue, q.
Create a source that may be added to or halted asynchronously
using the returned Queue, q. On calling q.enqueue(a),
unless another thread is already processing the elements
in the queue, listeners on the queue will be run using the calling
thread of q.enqueue(a), which means that enqueueing is not
guaranteed to take constant time. If this is not desired, use
queue with a Strategy other than Strategy.Sequential.
Returns a continuous Process whose value can be set
asynchronously using the returned Ref.
Returns a continuous Process whose value can be set
asynchronously using the returned Ref. Callbacks will be
run in the calling thread unless another thread is already
reading from the Ref, so set is not guaranteed to take
constant time. If this is not desired, use ref with a
Strategy other than Strategy.Sequential.
Create a source that may be added to or halted asynchronously
using the returned Queue.
Create a source that may be added to or halted asynchronously
using the returned Queue. See async.Queue. As long as the
Strategy is not Strategy.Sequential, enqueueing is
guaranteed to take constant time, and consumers will be run on
a separate logical thread. Current implementation is based on
actor.queue.
Returns a ref, that can create continuous process, that can be set
asynchronously using the returned Ref.
Create a new continuous signal which may be controlled asynchronously.
Create a new continuous signal which may be controlled asynchronously.
All views into the returned signal are backed by the same underlying
asynchronous Ref.
Convert an Queue[A] to a Sink[Task, A].
Convert an Queue[A] to a Sink[Task, A]. The cleanup action will be
run when the Sink is terminated.
Returns a topic, that can create publisher (sink) and subscriber (source) processes that can be used to publish and subscribe asynchronously.
Returns a topic, that can create publisher (sink) and subscriber (source)
processes that can be used to publish and subscribe asynchronously.
Please see Topic for more info.