zio.channel.Channel
See theChannel companion class
object Channel
An implementation of a thread-safe, blocking channel. This is based on the Golang channels, Channel
implementation in Stackless Python, and also on Erlang message passing with mailbox.
Effects can send messages to the queue using the send
method, which will block until the message is received. Effects can also receive messages from the queue using the receive
method, which will block until a message is available.
Type parameters
- A
-
the type of messages in the queue
Attributes
Members list
In this article