Skip to content

Comments

Stop stream pipe when user seek or close brower.#29

Open
hankphung wants to merge 1 commit intomeloncholy:masterfrom
hankphung:master
Open

Stop stream pipe when user seek or close brower.#29
hankphung wants to merge 1 commit intomeloncholy:masterfrom
hankphung:master

Conversation

@hankphung
Copy link

Adding following lines before stream.pipe to detect if stream pipe stop when user close browser.

stream.on('data', function(chunk) {
 console.log(''ding",chunk);
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant