We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83751a9 commit 960f207Copy full SHA for 960f207
src/subscription/mapAsyncIterator.js
@@ -37,7 +37,7 @@ export function mapAsyncIterator<T, U>(
37
async next() {
38
return mapResult(await iterator.next());
39
},
40
- async return(): Promise<IteratorResult<U, void>> {
+ async return(): Promise<IteratorResult<U, void>> {
41
return typeof iterator.return === 'function'
42
? mapResult(await iterator.return())
43
: { value: undefined, done: true };
0 commit comments