Re: [blink-dev] Intent to Implement: Top Level Await

15 views
Skip to first unread message

Adam Klein

unread,
Aug 8, 2019, 3:07:21 PM8/8/19
to Yoav Weiss, Joshua Litt, blink-dev, v8-users
On Thu, Aug 8, 2019 at 4:38 AM Yoav Weiss <yo...@yoav.ws> wrote:


On Wed, Aug 7, 2019 at 8:39 PM Joshua Litt <joshu...@chromium.org> wrote:
joshu...@chromium.org https://github.com/tc39/proposal-top-level-await Specification: https://tc39.es/proposal-top-level-await/ https://docs.google.com/document/d/15jxKo7kqj0bRHcnSmwjhj1XaWH1AXRDtYPiJHluCSiA/edit?usp=sharing Allow keyword 'await' at the module level. Allows more seamless integration of async calls into the module loading process. Today this is accomplished by wrapping modules in async functions, but this pushes complexity into dependent modules and exposes implementation details.
Stage 3 TC39 proposal, thus risk is low that others browsers will not implement it. Firefox: No public signals Edge: No public signals Safari: No public signals

More of a TC39 process question, but aren't there clear signals from other vendors by the time the proposal is at stage 3? 

Stage 3 means that there's consensus from the committee at large (which includes other vendors) that it's ready for implementation, and that we expect it to make its way into the ES spec once it reaches Stage 4. But "consensus" and "support" aren't necessarily the same thing. Similarly, consensus and implementation aren't the same thing.

So your question leads to a Blink Intents process question: is there good guidance on what sort of data is good input to these fields?

Web developers: No signals

Searching Twitter brought up e.g. https://twitter.com/bitandbang/status/1136549425659162624 (with 100+ RTs and 300+ likes) indicating that there is at least some developer enthusiasm towards this feature.

Not possible to polyfill.
Could cause timeouts and races in the hands of inexperienced developers. Yes No Tests are WIP. https://chromestatus.com/feature/5767881411264512

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANGvXFho4AE_YzscsMX2TBgy%3DmWEJQ9sv1dfmrH4SPVjdV6ogA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEgBbjn2gQ_UvaK5NxqDJrPt3eRiwefmC3Hp-v8swUJN2A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages