austinjones / postage-rs

The feature-rich, portable async channel library
MIT License
251 stars 9 forks source link

Implement an MPMC queue channel #22

Closed austinjones closed 3 years ago

austinjones commented 3 years ago

It would be fairly straightforward to implement an MPMC queue channel (where receivers take messages from the channel, and only one receiver sees the value). crossbeam-queue provides ArrayQueue and SegQueue, which would be easy to wrap in a channel impl.