async-iterable-stream
Advanced tools
Comparing version 3.0.1 to 4.0.0
@@ -20,5 +20,6 @@ class AsyncIterableStream { | ||
createAsyncIterable(timeout) { | ||
let asyncIterator = this.createAsyncIterator(timeout); | ||
return { | ||
[Symbol.asyncIterator]: () => { | ||
return this.createAsyncIterator(timeout); | ||
return asyncIterator; | ||
} | ||
@@ -25,0 +26,0 @@ } |
{ | ||
"name": "async-iterable-stream", | ||
"version": "3.0.1", | ||
"version": "4.0.0", | ||
"description": "A readable async stream which can be iterated over using a for-await-of loop.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7369
133