HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by kingofthehill98 | Hacker News Reader
Parent
Full thread
kingofthehill98
·
Every day we stray further from god.
View on HN
gnulinux
·
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.
Reply on news.ycombinator.com