lhl 6ff0e96ad3 8-4-1 | 1 éve | |
---|---|---|
.. | ||
History.md | 1 éve | |
LICENSE | 1 éve | |
README.md | 1 éve | |
index.js | 1 éve | |
package.json | 1 éve |
Listen readable stream end
or error
event once.
$ npm i end-or-error
var eoe = require('end-or-error');
var stream = createReadStreamSomeHow();
eoe(stream, function (err) {
// err => stream emitted "error" event
});