zlacker
[return to "The bane of my existence: Supporting both async and sync code in Rust"]
◧
1. doakes+nq
[view]
[source]
2024-01-20 00:52:30
>>lukast+(OP)
What's the advantage of async if you immediately call await?
◧◩
2. empath+nw
[view]
[source]
2024-01-20 01:51:15
>>doakes+nq
If you're not using multiple tasks, there's no advantage. If you are running multiple tasks, it passes control back to the executor.
[go to top]