Neither of these is a problem with providing block_on
; only with providing spawn
. I agree that std
should not add a spawn
operation, at least not until it's clearer what exactly it would do, but block_on
is simple to implement, has almost no degrees of freedom, and solves “I have a tiny bit of async
I need to talk to” problems.
10 Likes
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.