Module workflow_core::channel
source · Expand description
async_std::channel
re-exports and shims
Structs
Channel
struct that combinesasync_std::channel::Sender
andasync_std::channel::Receiver
into a single struct withsender
andreceiver
members.- 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.