Re:Rust’s async isn’t colored
by mmis1000 on Thursday March 11, 2021 @01:09PM
(#26427064)
No, js won't allow you to halt the whole thread to wait for your async function (most runtime implements it as single thread). But kotlin on Java does (while you have absolutely no reason to do that except workaround, you just literally get a slower sync version of that function. It is a escape hole for you to do it sync when something absolutely need it be like that (take a example, the main function))
[ Parent
| on HN ]
There are no comments on this comment yet.