Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use CrossBeam-Channel in Tokio? #896

Closed
zhuxiujia opened this issue Aug 13, 2022 · 1 comment
Closed

How to use CrossBeam-Channel in Tokio? #896

zhuxiujia opened this issue Aug 13, 2022 · 1 comment
Labels

Comments

@zhuxiujia
Copy link

How to use CrossBeam-Channel in Tokio?

just like flume can use async features to send data between threads and Tokio coroutines

@taiki-e
Copy link
Member

taiki-e commented Aug 13, 2022

crossbeam-channel does not support async send/recv.

In async context consider using async-channel, which is created by the same author (Stjepan Glavina) and uses the same algorithm.

See also #501 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants