diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2021-01-15 08:57:19 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 08:57:19 +1100 |
commit | b8303c7812e3483c9ce63bbd8e2a9d420a47aee9 (patch) | |
tree | 92eed14cda38e09309489d882a94c03a90927aed /std/async | |
parent | 2d1208556ad09844407c484b1e23887e3ade97c7 (diff) |
refactor(op_crate/fetch): align streams to spec (#9103)
Fixes #8814
Diffstat (limited to 'std/async')
-rw-r--r-- | std/async/pool.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/async/pool.ts b/std/async/pool.ts index 77ac8f0bd..8aeb2671d 100644 --- a/std/async/pool.ts +++ b/std/async/pool.ts @@ -42,5 +42,5 @@ export function pooledMap<T, R>( await Promise.all(executing); writer.close(); })(); - return res.readable.getIterator(); + return res.readable[Symbol.asyncIterator](); } |