Module workflow_core::channel

source ·
Expand description

async_std::channel re-exports and shims

Structs

Channel struct that combines async_std::channel::Sender and async_std::channel::Receiver into a single struct with sender and receiver members.
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 Receiver that prevents the channel from not being closed.
A Sender that prevents the channel from not being closed.

Enums

Functions

Creates a bounded channel.
Creates a oneshot channel (bounded channel with a limit of 1 message)
Creates an unbounded channel.