4 ms·
Node v7 has async await behind a harmony flag!
by STRiDEX 10y ago
Node v7 has async await behind a harmony flag!
- koolba 10y agoI'd call that a big feature.
- weego 10y agoThe entire point of it being behind a flag is that it's not considered stable, so is not a feature.
- joshmanders 10y agoIt's only unstable because the version of V8 is marked as unstable. Newer versions of V8 have async/await as stable. TSC member jasnell has stated if things go smoothly, we can see async/await stable in a minor version release of v7.
- sscotth 10y agoCorrect. async/await was first introduced V8 v5.2 but put behind an testing flag. Node.js v7 includes the latest stable version of V8 (v5.4) which was promoted two weeks ago but still has it behind a flag. The current beta version of V8 (v5.5) now has async/await enabled by default. Shortly after V8 v5.5 goes stable, in about 4 weeks, Node.js will update to include it. However, it will most likely be only updated on the v7 branch and not the v6 LTS branch. Also of note, chakra still has async/await behind a flag as well.