Highland.js v2.8.0 Release Notes
-
๐ Bugfix
- A Highland Stream that wraps
Readable
now properly handles the case where theReadable
emits theclose
event but not theend
event (this can happen with anfs
read stream when it encounters an error). It will also end the wrapper stream when it encounters an error (this happens when reading from a non-existent file). Before, such streams would simply never end. #479. Fixes #478.
๐ New additions
toCallback
: method for returning the result of a stream to a nodejs-style callback function. #493. Fixes #484.
๐ Improvements
- A Highland Stream that wraps