Channel
A Channel is an asynchronous communication channel that supports receiving messages of type In and sending messages of type Out.
Attributes
- Source
- Channel.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Members list
Value members
Abstract methods
Await shutdown of the channel.
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
- Source
- Channel.scala
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
- Source
- Channel.scala
Send a message to the channel.
Send all messages to the channel.
Shut down the channel.
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
- Source
- Channel.scala
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.
Attributes
- Source
- Channel.scala