Hacker News new | ask | show | jobs
by kevingadd 1017 days ago
You can call .Wait on the Task it returns :)
1 comments

Right, but now you are forced to convert the calling function to async.

u32 / float does not have the problem. It does not "bubble up", unless you want it to.

no, .Wait in C# or block_on in Rust keep the caller sync while evaluating the async callee, preventing the "bubble up".