pull-promise-end
A small wrapper function around pull.onEnd
, which drains the stream passed to it and returns a promise.
Usage
var end = var pull = var stream =
Like all promises, you can also use this with async/await
:
{ try await // Move on catch err // Handle error }
License
Apache-2.0