binance-api-node
binance-api-node copied to clipboard
Allow user to listen to close event (even if ws will reconnect)
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