Crate cuprate_async_buffer

source ·
Expand description

Async Buffer

A bounded SPSC, FIFO, async buffer that supports arbitrary weights for values.

Weight is used to bound the channel, on creation you specify a max weight and for each value you specify a weight.

Structs§

Enums§

Functions§

  • Initializes a new buffer with the provided capacity.