Contact Emails

ca...@chromium.org <mailto:ca...@chromium.org>

Spec

https://tc39.github.io/proposal-async-iteration/ 
<https://tc39.github.io/proposal-async-iteration/>

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
`for-await-of` loops (example: 
https://jakearchibald.com/2017/async-iterators-and-generators/ 
<https://jakearchibald.com/2017/async-iterators-and-generators/>).

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>https://bugs.chromium.org/p/v8/issues/detail?id=5
 <https://bugs.chromium.org/p/v8/issues/detail?id=5>855

Link to entry on the Chrome Platform Status

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

-- 
-- 
v8-users mailing list
v8-users@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to