DirectChannel
ox.channels.DirectChannel
class DirectChannel[T] extends Channel[T]
A channel with capacity 0, requiring that senders & receivers meet to exchange a value.
Attributes
- Graph
-
- Supertypes
Members list
Type members
Classlikes
case class DirectSend(v: T) extends Send
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Sendtrait SelectClause[Unit]class Objecttrait Matchableclass AnyShow all
Inherited classlikes
case class Receive extends SelectClause[T]
Attributes
- Inherited from:
- Source
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SelectClause[T]class Objecttrait Matchableclass AnyShow all
case class Received extends SelectResult[T]
Attributes
- Inherited from:
- Source
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SelectResult[T]class Objecttrait Matchableclass AnyShow all
sealed trait Send extends SelectClause[Unit]
Attributes
- Inherited from:
- Sink
- Supertypes
- Known subtypes
-
class BufferedSendclass DirectSend
case class Sent extends SelectResult[Unit]
Attributes
- Inherited from:
- Sink
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SelectResult[Unit]class Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Completes the channel with a "done" state.
Completes the channel with a "done" state.
Any elements that have been sent can be received. After that, receivers will learn that the channel is done.
No new elements can be sent to this channel. Sending will end with a ChannelClosedException.Done exception.
Attributes
- Note
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- SourceOps
Attributes
- Inherited from:
- SourceOps
Attributes
- Inherited from:
- Sink
Attributes
- Inherited from:
- Sink
Attributes
- Inherited from:
- SourceOps
Attributes
- Inherited from:
- SourceOps
Attributes
- Inherited from:
- SourceOps
Attributes
- Inherited from:
- SourceOps
Attributes
- Inherited from:
- SourceOps
Attributes
- Inherited from:
- SourceOps
Inherited fields
Attributes
- Inherited from:
- Source
In this article