summaryrefslogtreecommitdiff
path: root/std/async
diff options
context:
space:
mode:
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]();
}