Skip to content

Loading…

No 'end' event emitted #1

Open
jnordberg opened this Issue · 0 comments

1 participant

@jnordberg

There is no way to get a callback when a cached stream has finished piping to its destination.

I had a look at the source and it seems this could be solved by throwing in this.emit('end'); in the end method and inside if (this._ended) in the pipe method.

Or is there a reason not to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.