@jacobbubu/pull-abortable
v1.0.1
Published
[](https://github.com/jacobbubu/pull-abortable/actions?query=workflow%3A%22Build+and+Release%22) [
pull(
source,
abortable,
sink
)
//at any time you can abort the pipeline,
//the source will be cleaned up, and any
//error will be passed to the sink next time it reads.
atAnyTime(function () {
abortable.abort()
})
// abort the stream and end with an error
abortable.abort(new Error('example'))License
MIT
