refactor(op_crate/fetch): align streams to spec (#9103)

Fixes #8814
This commit is contained in:
Kitson Kelly 2021-01-15 08:57:19 +11:00 committed by GitHub
parent 2d1208556a
commit b8303c7812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 3225 additions and 3678 deletions

View file

@ -42,5 +42,5 @@ export function pooledMap<T, R>(
await Promise.all(executing);
writer.close();
})();
return res.readable.getIterator();
return res.readable[Symbol.asyncIterator]();
}