MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4gkgdv/nodejs_v60_released/d2ja7oz/?context=3
r/programming • u/Bieb • Apr 26 '16
79 comments sorted by
View all comments
7
I want async/await, bro. And no, I'm not compiling node with microsoft's js engine just to get that.
4 u/simspelaaja Apr 27 '16 The TypeScript compiler already supports them, by emulating them using ES6 generators and promises. 1 u/newreddit0r Apr 27 '16 Isn't async/await actually just a syntactic sugar on top of the generators and promises? 1 u/simspelaaja Apr 27 '16 It is, even in C#. But ES7 might support it as a first-class feature. 1 u/vivainio Apr 27 '16 C# creates a switch-case state machine within functions to support async/await
4
The TypeScript compiler already supports them, by emulating them using ES6 generators and promises.
1 u/newreddit0r Apr 27 '16 Isn't async/await actually just a syntactic sugar on top of the generators and promises? 1 u/simspelaaja Apr 27 '16 It is, even in C#. But ES7 might support it as a first-class feature. 1 u/vivainio Apr 27 '16 C# creates a switch-case state machine within functions to support async/await
1
Isn't async/await actually just a syntactic sugar on top of the generators and promises?
1 u/simspelaaja Apr 27 '16 It is, even in C#. But ES7 might support it as a first-class feature. 1 u/vivainio Apr 27 '16 C# creates a switch-case state machine within functions to support async/await
It is, even in C#. But ES7 might support it as a first-class feature.
1 u/vivainio Apr 27 '16 C# creates a switch-case state machine within functions to support async/await
C# creates a switch-case state machine within functions to support async/await
7
u/[deleted] Apr 27 '16
I want async/await, bro. And no, I'm not compiling node with microsoft's js engine just to get that.