- Companion:
- object
Value members
Concrete methods
When set to true
(default) it will automatically read messages from the
channel. When set to false, the channel will not read messages until read
is called.
When set to true
(default) it will automatically read messages from the
channel. When set to false, the channel will not read messages until read
is called.
- Definition Classes
- Channel
Provides a way to wait for the channel to be closed.
Provides a way to wait for the channel to be closed.
- Definition Classes
- Channel
Closes the channel. Pass true to await to wait for the channel to be closed.
Closes the channel. Pass true to await to wait for the channel to be closed.
- Definition Classes
- Channel
Creates a new channel that can write a different type of message by using a transformation function.
Creates a new channel that can write a different type of message by using a transformation function.
- Definition Classes
- Channel
Flushes the pending write operations on the channel.
Flushes the pending write operations on the channel.
- Definition Classes
- Channel
Returns the globally unique identifier of this channel.
Returns the globally unique identifier of this channel.
- Definition Classes
- Channel
Returns true
if auto-read is set to true.
Returns true
if auto-read is set to true.
- Definition Classes
- Channel
Schedules a read operation on the channel. This is not necessary if auto-read is enabled.
Schedules a read operation on the channel. This is not necessary if auto-read is enabled.
- Definition Classes
- Channel
Schedules a write operation on the channel. The actual write only happens
after calling flush
. Pass true
to await the completion of the write
operation.
Schedules a write operation on the channel. The actual write only happens
after calling flush
. Pass true
to await the completion of the write
operation.
- Definition Classes
- Channel