Hacker News new | ask | show | jobs
by johnbcoughlin 1245 days ago
What should it do when you call an async function from non-async? Block?
1 comments

I guess there is no easy answer for that. Here is an interesting blog post which resembles closely my opinion: https://www.tedinski.com/2018/11/13/function-coloring.html

Edit: And of course there are alternatives such as Go or Zig: https://kristoff.it/blog/zig-colorblind-async-await/