3 ms·
> the best you can do is write a thread pool that spawns a Tokio LocalSet to run !Send futures Can you go into this a bit more or provide a code reference? I'm
by asymptotic 5y ago
> the best you can do is write a thread pool that spawns a Tokio LocalSet to run !Send futures
Can you go into this a bit more or provide a code reference? I'm new to writing async Rust code and am interested in this idea.
- jkelleyrtp 5y agoYeah, it's actix-web's runtime. I brought it up to tide's maintainers and got a bunch relevant links. Feel free to click through the tide issue for more context. - https://github.com/http-rs/tide/issues/837 https://github.com/http-rs/tide/issues/837 - https://github.com/rust-lang/wg-async-foundations/issues/87 https://github.com/rust-lang/wg-async-foundations/issues/87 - https://github.com/rust-lang/wg-async-foundations/issues/128 https://github.com/rust-lang/wg-async-foundations/issues/128