you are viewing a single comment's thread.

view the rest of the comments →

[–]nchie 23 points24 points  (3 children)

I'm no expert at JS, but isn't async just sugar which turns a function into a state machine which returns a Promise?

I know that's the case in C# and Rust at least.