How to handle aborted request / Browser reload while sending a stream ? #216
|
hi, error i am getting |
Answered by
kartikk221
Jan 20, 2024
Replies: 2 comments 1 reply
|
Refer to https://github.com/kartikk221/hyper-express/blob/master/docs/Request.md#request-events |
0 replies
Answer selected by
kartikk221
|
Also, If you are sending events like you are, look into using the |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Refer to https://github.com/kartikk221/hyper-express/blob/master/docs/Request.md#request-events
You may listen for the
abortorclosedevent both of which will indicate no Response write operations can be performed going forward.