mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
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:
parent
f0cd2c45fc
commit
ba40347a35
9 changed files with 217 additions and 51 deletions
1
ext/fetch/lib.deno_fetch.d.ts
vendored
1
ext/fetch/lib.deno_fetch.d.ts
vendored
|
@ -163,6 +163,7 @@ declare type BodyInit =
|
|||
| FormData
|
||||
| URLSearchParams
|
||||
| ReadableStream<Uint8Array>
|
||||
| AsyncIterable<Uint8Array>
|
||||
| string;
|
||||
/** @category Fetch */
|
||||
declare type RequestDestination =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue