Expand description

The channel interface.

Structs§

  • A blocking iterator over messages in a channel.
  • A blocking iterator over messages in a channel.
  • The receiving side of a channel.
  • The sending side of a channel.
  • A non-blocking iterator over messages in a channel.

Enums§

Functions§

  • Creates a receiver that delivers a message after a certain duration of time.
  • Creates a receiver that delivers a message at a certain instant in time.
  • Creates a channel of bounded capacity.
  • Creates a receiver that never delivers messages.
  • read 🔒
    Reads a message from the channel.
  • Creates a receiver that delivers messages periodically.
  • Creates a channel of unbounded capacity.
  • write 🔒
    Writes a message into the channel.