Re:A four year plan for async Rust
by kingofthehill98 on Tuesday November 07, 2023 @12:27PM
(#38179831)
Every day we stray further from god.
[ Parent
| on HN ]
This is the kind of thing you write once to abstract out async things in a function and call it a day. It really isn't that bad. Besides you can just use:
smol::block_on(async {
println!("I'm async!");
});
if smol is an option.