summaryrefslogtreecommitdiff
path: root/std/async
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-01-15 08:57:19 +1100
committerGitHub <noreply@github.com>2021-01-15 08:57:19 +1100
commitb8303c7812e3483c9ce63bbd8e2a9d420a47aee9 (patch)
tree92eed14cda38e09309489d882a94c03a90927aed /std/async
parent2d1208556ad09844407c484b1e23887e3ade97c7 (diff)
refactor(op_crate/fetch): align streams to spec (#9103)
Fixes #8814
Diffstat (limited to 'std/async')
-rw-r--r--std/async/pool.ts2
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]();
}