Channel
A Channel
is an asynchronous communication channel that supports receiving messages of type In
and sending messages of type Out
.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Members list
Value members
Abstract methods
Await shutdown of the channel.
Await shutdown of the channel.
Attributes
Read a message from the channel, suspending until the next message is available.
Read a message from the channel, suspending until the next message is available.
Attributes
Reads all messages from the channel, handling them with the specified function.
Reads all messages from the channel, handling them with the specified function.
Attributes
Send a message to the channel.
Send a message to the channel.
Attributes
Send all messages to the channel.
Send all messages to the channel.
Attributes
Concrete methods
Constructs a new channel that automatically transforms messages sent to this channel using the specified function.
Constructs a new channel that automatically transforms messages sent to this channel using the specified function.
Attributes
Constructs a new channel that automatically transforms messages received from this channel using the specified function.
Constructs a new channel that automatically transforms messages received from this channel using the specified function.