issues
search
bustle
/
bluestream
A collection of streams that work well with promises (through, map, reduce). Think Through2 with promises
MIT License
103
stars
5
forks
source link
fix(read): issues with ending read streams with promise pushes
#17
Closed
reconbot
closed
7 years ago
reconbot
commented
7 years ago
this.push(null)
or
return null
now ensures to happen after any outstanding
this.push()
promises have resolved.
_read
will no longer be called after the stream has ended and there are outstanding async operations
this.push(null)
orreturn null
now ensures to happen after any outstandingthis.push()
promises have resolved._read
will no longer be called after the stream has ended and there are outstanding async operations