Module remoc::rch::broadcast

source ·
Available on crate feature rch only.
Expand description

A multi-producer, multi-consumer broadcast queue with receivers that may be located on remote endpoints.

Each sent value is seen by all consumers. The senders must be local, while the receivers can be sent to remote endpoints. Forwarding is supported.

This has similar functionality as tokio::sync::broadcast with the additional ability to work over remote connections.

Structs§

Enums§

  • An error occurred during receiving over a broadcast channel.
  • An error occurred during sending over a broadcast channel.
  • An error occurred during receiving over a broadcast channel receiver stream.
  • An error occurred during trying to receive over a broadcast channel.

Functions§

  • Create a bounded, multi-producer, multi-consumer channel where each sent value is broadcasted to all active receivers.