rust-lang / futures-rs

Zero-cost asynchronous programming in Rust
https://rust-lang.github.io/futures-rs/
Apache License 2.0
5.29k stars 607 forks source link

Question: futures-rs::channels implement Send trait #2843

Closed influx6 closed 3 months ago

influx6 commented 3 months ago

Hi, not sure if this is the right way for this but looking to use this crate and wanted to know if it was safe to use future-rs channels in a thread-safe manner. I did some search around the code but could not ascertain if the channel crate can safely be used across threads or sent into another thread.

influx6 commented 3 months ago

I think I got the answer here: https://github.com/rust-lang/futures-rs/pull/327#issuecomment-270266957

Thanks 🙏🏿