Module channel

Module channel 

Source
Expand description

Channel types for CSP-style concurrency.

Channels provide communication between threads via message passing. Objects are deep-copied into the ChannelManager’s block when sent, and deep-copied into the receiver’s context when received.

Structs§

ChannelReceiver 🔒
The receiving half of a channel.
ChannelReceiverInner 🔒
ChannelSender 🔒
The sending half of a channel.
ChannelSenderInner 🔒

Functions§

make_channel_pair 🔒
Create a new channel pair with the specified capacity.