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

TimothyGu commented on this pull request.



> +        "async" "iterable" "<" TypeWithExtendedAttributes ">" ";"
+        "async" "iterable" "<" TypeWithExtendedAttributes ">" "(" ArgumentList ")" ";"
         "async" "iterable" "<" TypeWithExtendedAttributes "," TypeWithExtendedAttributes ">" ";"
+        "async" "iterable" "<" TypeWithExtendedAttributes "," TypeWithExtendedAttributes ">" "(" ArgumentList ")" ";"

Here's one way, making use of existing sync iterable infrastructure like [OptionalType](https://heycam.github.io/webidl/#prod-OptionalType)

```
AsyncIterable : 
  async iterable < TypeWithExtendedAttributes OptionalType > OptionalArgumentList ;
OptionalArgumentList
  ( ArgumentList )
  ε
```

-- 
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#discussion_r397534328

Received on Wednesday, 25 March 2020 00:04:18 UTC