Re: [whatwg/webidl] Add `async iterable<T>` type to WebIDL (PR #1397)

@saschanaz No, not of any specifics. The background here is this issue: https://github.com/whatwg/fetch/issues/1291#issuecomment-2009010502. @annevk mentioned we'd need to figure out how to make this work IDL wise. This is my attempt at that (it enables updating the `BodyInit` overload in Fetch from:

```webidl
typedef (Blob or BufferSource or FormData or URLSearchParams or USVString) XMLHttpRequestBodyInit;
typedef (ReadableStream or XMLHttpRequestBodyInit) BodyInit;
```

to

```webidl
typedef (Blob or BufferSource or FormData or URLSearchParams or USVString) XMLHttpRequestBodyInit;
typedef (ReadableStream or async iterable<BufferSource> or XMLHttpRequestBodyInit) BodyInit;
```
 

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

Message ID: <whatwg/webidl/pull/1397/c2018111309@github.com>

Received on Monday, 25 March 2024 14:19:06 UTC