binance-api-node icon indicating copy to clipboard operation
binance-api-node copied to clipboard

Allow user to listen to close event (even if ws will reconnect)

Open dave-fl opened this issue 3 years ago • 0 comments

When the websocket disconnects - the user should have the ability to act upon this if desired as there could be considerable time before a reconnection occurs.

Allow onclose event to be emitted similar to onopen and onerror

dave-fl avatar Feb 09 '22 22:02 dave-fl