Re: [whatwg/webidl] Accept `iterable` and `async iterable` in functions? (Issue #1461)

Ah, interesting, thanks for the pointer. That does look like exactly what we need, and it's good to know that there are other uses cases, as well :)

In that PR, `async iterable<T>` is used to refer to either a synchronous or asynchronous iterable, which does happen to be what we need, and I guess there's never any real reason to accept an async but not a sync iterable, so that simplifies things slightly as well.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1461#issuecomment-2573325211
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1461/2573325211@github.com>

Received on Monday, 6 January 2025 15:18:02 UTC