Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sakex
· 4y ago · 0 comments
I wish crossbeam channels added support for async/await
Comments
[–]
vincenv
4y ago
You could use async_channel [1] it provides async multi-producer multi-consumer.
[1]:
https://docs.rs/async-channel/latest/async_channel/
[–]
sakex
OP
4y ago
I'm using flume channels but I'd love to use crossbeam in an async environment
[–]
thayne
4y ago
Async/await channels need a completely different implementation. It doesn't really make a ton of sense for a single crate to support both sync/threaded channels and async channels.
[–]
sakex
OP
4y ago
Flume channels support both, but yeah those are very different implementations. I think that supporting it in crossbeam would be great too