3 ms·
You can call .Wait on the Task it returns :)
by kevingadd 3y ago
You can call .Wait on the Task it returns :)
- randyrand 3y agoRight, 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.
- kprotty 3y agono, .Wait in C# or block_on in Rust keep the caller sync while evaluating the async callee, preventing the "bubble up".