Hi, For Vert.x javascript support I've prototyped the Promise API as per:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise http://www.ecma-international.org/ecma-262/6.0/#sec-promise-objects I see that it is not in the complete list, If someone would "mentor" me with how to get it in nashorn, I'd gladly contribute the code. As an example here's some demo: https://gist.github.com/pmlopes/3d86f67943b3ffd9dd9aff73067de0a2 And it has been tested to work with babel.js to allow transpiling `async` `await` to Promise API. Cheers, Paulo On Wed, Apr 26, 2017 at 4:38 PM, Hannes Wallnöfer < hannes.wallnoe...@oracle.com> wrote: > Here’s a list of things we have working and things we don’t: > > https://bugs.openjdk.java.net/browse/JDK-8066046 > > ES6 support in the parser is pretty much complete, so some features are > arrow functions are ‚almost‘ working, and others may not require too much > effort. > > Hannes > > > > Am 26.04.2017 um 16:18 schrieb Karl Pietrzak <kap4...@gmail.com>: > > > > On Wed, Apr 26, 2017 at 10:14 AM, Hannes Wallnöfer < > > hannes.wallnoe...@oracle.com> wrote: > > > >> ES6 support is still work in progress, we only support some of it, so > >> making it the default wouldn’t be a good idea. > >> > > > > > > Is there a feature I can help with? If someone points me in the right > > direction, I can submit a patch. I don't see anything in JIRA, really. > > -- Paulo Lopes www.jetdrone.com