diff options
Diffstat (limited to 'cli/js/web/fetch.ts')
-rw-r--r-- | cli/js/web/fetch.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/web/fetch.ts b/cli/js/web/fetch.ts index 2c16d5fb0..abb5f2aa2 100644 --- a/cli/js/web/fetch.ts +++ b/cli/js/web/fetch.ts @@ -248,7 +248,7 @@ class Body implements domTypes.Body, ReadableStream<Uint8Array>, io.ReadCloser { } [Symbol.asyncIterator](): AsyncIterableIterator<Uint8Array> { - return io.toAsyncIterator(this); + return io.iter(this); } get bodyUsed(): boolean { |