-
Notifications
You must be signed in to change notification settings - Fork 44
Implementation status? #63
Comments
Any chance this will land in ES2017? |
That depends entirely on implementations. |
I love this feature and hope to see it. Given that the current syntax is |
Prototype will probably be up for review before xmas, but landing and tuning will take longer |
@caitp awesome! Thanks, once you have a prototype running I'd love to build and try it out. Really excited about this. |
Is there a Chromium/V8 issue? |
It's only been worked on downstream so far. Some dependencies have been attached to v8:5343 |
@caitp I have a question about implementation if that's ok. I was wondering if it is possible for async iterators (not necessarily in the first version) that are consumed with It might have significant implications on NodeJS usage, while promises are cheap allocating one for every packet when reading from a network stream might end up being expensive. |
Once TurboFan is able to inline promise resolution/rejection, it could probably decide to create a different microtask type when the resume location is known (ie in an AwaitExpression), and elide allocation of the Promise which is no longer escaped. @schuay might already have plans to do something like this, not sure. |
Hey, who do I bug in Safari/Edge/Firefox land to promote this? |
@benjamingr this has been started in WebKit by someone, https://bugs.webkit.org/show_bug.cgi?id=166695. |
@gskachkov let me know if there is anything I/we can do to help push this in WebKit - and if you need testing etc. |
@benjamingr Yes sure, but I just started :-) |
prototyping for Firefox here: |
Chrome/V8 Issue: https://crbug.com/v8/5855 |
ChakraCore issue chakra-core/ChakraCore#2720 |
Shipped just now in V8 6.3: https://bugs.chromium.org/p/v8/issues/detail?id=5855#c36 |
Shipped in Safari Technical Preview 40. I hope it will be released in Safari 11.1 |
SpiderMonkey enabled it around a month ago and will ship in 57: https://bugzilla.mozilla.org/show_bug.cgi?id=1352312 |
Given this is stage 3 (yay) - what browsers have expressed intent to start implementing this?
Are there any browsers where we can test the implementation under a flag/build already?
The text was updated successfully, but these errors were encountered: