From b8303c7812e3483c9ce63bbd8e2a9d420a47aee9 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Fri, 15 Jan 2021 08:57:19 +1100 Subject: refactor(op_crate/fetch): align streams to spec (#9103) Fixes #8814 --- std/async/pool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/async') 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( await Promise.all(executing); writer.close(); })(); - return res.readable.getIterator(); + return res.readable[Symbol.asyncIterator](); } -- cgit v1.2.3