|
|
|
|
|
by littlestymaar
606 days ago
|
|
> There is no way to "shed" async-ness like that in javascript. In rust you can simply call `block_on` and call it a day. In JS there isn't such a construct by default because the blocking the thread would freeze the app, but it exists in every other language with async/await that I'm aware of. |
|