feat(fetch): accept async iterables for body (#24623)

Implements https://github.com/whatwg/webidl/pull/1397
Fixes #21454 
Closes #24849
This commit is contained in:
Leo Kettmeir 2024-08-06 00:13:02 -07:00 committed by GitHub
parent f0cd2c45fc
commit ba40347a35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 217 additions and 51 deletions

View file

@ -163,6 +163,7 @@ declare type BodyInit =
| FormData
| URLSearchParams
| ReadableStream<Uint8Array>
| AsyncIterable<Uint8Array>
| string;
/** @category Fetch */
declare type RequestDestination =