zerodha/kiteconnectjs

No way to close or disconnect the KiteTicker websocket API

selvakn opened this issue · 5 comments

At the exit of my program, as a good practise, I want to disconnect and release the websocket connection established by the KiteTicker. But there is no API exposed to do that!

Will add method to close the WebSocket connection.

@vividvilla : Any update on this?

@selvakn Added a method called disconnect to version 1.1.0. Its also updated in npm repo so you can directly upgrade your npm package.

I hope you are also going to make a new release, so that it can be used

@selvakn Its already released you can update your package with npm.