We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I think it will be nice to be able yielding the streams (it will be waiting the stream "end" event) as well.
The text was updated successfully, but these errors were encountered:
@andreytkachenko Can you elaborate more ?
Sorry, something went wrong.
Current yieldable list are:
const promisify = (readable) => { const result = [] const w = new Writable({ write(chunk, encoding, callback) {· result.push(chunk) callback() } }) readable.pipe(w) return new Promise((resolve, reject) => { w.on('finish', resolve) w.on('error', reject) }).then(() => result.join('')) }
and then yield them, but it would be great to just yield them
No branches or pull requests
Hi,
I think it will be nice to be able yielding the streams (it will be waiting the stream "end" event) as well.
The text was updated successfully, but these errors were encountered: