Module hydroflow::util::unsync::mpsc

source ·
Expand description

Unsync single-producer single-consumer channel (i.e. a single-threaded queue with async hooks).

Structs§

Enums§

Functions§

  • Create a bounded unsync MPSC channel. Panics if capacity is zero.
  • Create an unsync MPSC channel, either bounded (if capacity is Some) or unbounded (if capacity is None).
  • Create an unbounded unsync MPSC channel.