Sibbo to Rust [email protected] • 10 months agoWhy you might actually want async in your projectnotgull.netexternal-linkmessage-square8fedilinkarrow-up141arrow-down11cross-posted to: rust
arrow-up140arrow-down1external-linkWhy you might actually want async in your projectnotgull.netSibbo to Rust [email protected] • 10 months agomessage-square8fedilinkcross-posted to: rust
minus-square@words_numberlink2•10 months agoIt’s actually not that hard to use async libraries in sync context. I rarely need that but if I do, I just pull in an executor and write a little extension trait for futures that lets me call .block() instead of .await.
It’s actually not that hard to use async libraries in sync context. I rarely need that but if I do, I just pull in an executor and write a little extension trait for futures that lets me call .block() instead of .await.