Module channel

Module channel 

Source

Structs§

Receiver
The sending side of a channel, almost identical to crossbeam_channel::Receiver. The only difference is that you can make one channel depend on another channel. If channel A depends on channel B, channel A will ACT disconnected when channel B is disconnected. This mean that dependency is not transitive. If channel Z depends on channel A, channel Z will not ACT disconnected when channel B is disconnected.
Sender
The sending side of a channel, almost identical to crossbeam_channel::Sender. The only difference is that you can make one channel depend on another channel. If channel A depends on channel B, channel A will ACT disconnected when channel B is disconnected. This mean that dependency is not transitive. If channel Z depends on channel A, channel Z will not ACT disconnected when channel B is disconnected.

Functions§

new_channel
Creates a multi-producer multi-consumer channel of either bounded or unbounded capacity.
new_channel_with_dependency
Creates a multi-producer multi-consumer channel of either bounded or unbounded capacity that ACTS disconnected when the channel it depends on is disconnected.