Intent to Ship: Async Iteration / Async Generators

100 views
Skip to first unread message

Caitlin Potter

unread,
Sep 12, 2017, 12:48:54 PM9/12/17
to v8-u...@googlegroups.com, blink-dev
Contact Emails


Spec


Summary

Async Generators and the new Async Iteration protocol provide tools for
implementing and consuming data sources not synchronously available in their
entirety. A common use-case is to wrap ReadableStreams for consumption via

Motivation

Promises and Streams are a part of the platform, both from the perspective of the world-wide-web,
and from the perspective of Node.js. This feature provides a streamlined, readable interface for
interacting with complex platform tools, and enables developers to more easily implement
complex schemes which cannot run synchronously.

Interoperability risk

* Firefox: In development
* Edge: Public support
* Safari: In development
* Web developers: No signals

Compatibility risk

Low compatibility risk. There is some risk due to Babel's shipment of an incorrect implementation of 
the standard, and the complexity of feature-testing. That said, the feature has been staged for several
weeks now, and content creators most at risk of running into compatibility risks would have likely
encountered them by now during this period.

Ongoing technical constraints

None (granted, more work is likely needed to reduce the overhead of the feature on low-end devices)

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes

OWP launch tracking bug

https://bugs.chromium.org/p/v8/issues/detail?id=5855

Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/5727385018171392

Adam Klein

unread,
Sep 12, 2017, 4:59:54 PM9/12/17
to Caitlin Potter, v8-u...@googlegroups.com, blink-dev
LGTM!

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/7DFC3057-2841-4B25-9568-FB896C162F20%40chromium.org.

Sathya Gunasekaran

unread,
Sep 13, 2017, 7:31:04 PM9/13/17
to v8-users, Caitlin Potter, blink-dev
LGTM2!
> --
> --
> v8-users mailing list
> v8-u...@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Brian Birtles

unread,
Sep 18, 2017, 8:47:12 PM9/18/17
to blink-dev, v8-u...@googlegroups.com, ca...@chromium.org
2017年9月13日水曜日 1時48分54秒 UTC+9 Caitlin Potter:
Interoperability risk

* Firefox: In development

This is already scheduled to ship in Firefox 57 (Intent to ship).

ca...@chromium.org

unread,
Sep 18, 2017, 9:16:01 PM9/18/17
to blink-dev, v8-u...@googlegroups.com, ca...@chromium.org
Thanks, I've updated the chromestatus entry.

vsemoz...@gmail.com

unread,
Sep 18, 2017, 9:23:15 PM9/18/17
to blink-dev, v8-u...@googlegroups.com, ca...@chromium.org
Reply all
Reply to author
Forward
0 new messages