3 ms·
This used to be my assumption long ago, but this is incorrect for almost every implementation async await. The compiler does not syntactically converts your aw
by unscaled 6y ago
This used to be my assumption long ago, but this is incorrect for almost every implementation async await.
The compiler does not syntactically converts your awaits to callbacks - it converts everything into state machines.
- thelazydogsback 6y agoC# converts to state-machines, F# converts to nested callbacks. (Although this may change, or be optional.)
- unscaled 6y agoInteresting. The only other instance I remember of (sort-of) awaits being converted into callbacks are LiveScript "backcalls": https://livescript.net/#functions-backcalls https://livescript.net/#functions-backcalls