Re: [heycam/webidl] Add async value iterators and async iterator arguments (#808)

@EdgarChen approved this pull request.

Thank you and sorry for the terrible lag.

> @@ -12655,8 +12725,16 @@ The \[[Prototype]] [=internal slot=] of an [=asynchronous iterator prototype obj
                 1.  Set |object|'s [=default asynchronous iterator object/is finished=] to true.
                 1.  Return [=!=] [$CreateIterResultObject$](<emu-val>undefined</emu-val>,
                     <emu-val>true</emu-val>).
-            1.  Otherwise:
+            1.  Otherwise, if the corresponding [=asynchronously iterable declaration=] is a

We have `interface` defined in step 1,
> 1. Let interface be the interface for which the asynchronous iterator prototype object exists.

 could we use something like `if interface has a pair asynchronously iterable declaration` instead?

>                  1.  Return the [=iterator result=] for |next| and |kind|.
+            1.  Otherwise:
+                1.  Assert: the corresponding [=asynchronously iterable declaration=] is a

And here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/808#pullrequestreview-397310580

Received on Tuesday, 21 April 2020 13:10:38 UTC