Module workflow_core::channel
source · Expand description
async_std::channel re-exports and shims
Structs
Channelstruct that combinesasync_std::channel::Senderandasync_std::channel::Receiverinto a single struct withsenderandreceivermembers.- The receiving side of a channel.
- A future returned by
Receiver::recv(). - An error returned from
Receiver::recv(). - A future returned by
Sender::send(). - An error returned from
Sender::send(). - The sending side of a channel.
- A
Receiverthat prevents the channel from not being closed. - A
Senderthat prevents the channel from not being closed.
Enums
- An error returned from
Receiver::try_recv(). - An error returned from
Sender::try_send().
Functions
- Creates a bounded channel.
- Creates a oneshot channel (bounded channel with a limit of 1 message)
- Creates an unbounded channel.