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.- A simple channel Multiplexer that broadcasts to multiple registered receivers.
- The receiving side of a channel.
- An error returned from
Receiver::recv(). - An error returned from
Sender::send(). - The sending side of a channel.
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.