0.2.7 |
|
---|---|
0.2.6 |
|
0.2.2 |
|
0.1.7 |
|
0.1.0 |
|
#42 in #receiver
144 downloads per month
Used in 36 crates
(14 directly)
58KB
1.5K
SLoC
Provides an mpsc (multi-producer single-consumer) channel wrapped in an
IntGauge
that counts the number of currently
queued items. While there is only one Receiver
, there can be
many Sender
s, which are also cheap to clone.
This channel differs from our other channel implementation, aptos_channel
,
in that it is just a single queue (vs. different queues for different keys)
with backpressure (senders will block if the queue is full instead of evicting
another item in the queue) that only implements FIFO (vs. LIFO or KLAST).
Dependencies
~2–7.5MB
~58K SLoC