Context:
The ticker.ts lib has a rather elaborate and tedious way of handling the connection which may not suite for all use cases. For starters, you cannot set/change the access_token once a connection has been estabished since the package blocks the main thread. Therefore, although it might be useful for some cases, for any serious solution we should be able to handle the connection in a more customizable fashion.
Question
Most of the library is straight forward and we've used all the necessary variables that we require from the class but apart from the parseBinary method that follows a elaborate packet convention. It would immesenly help us out if we you can expose to this function as a static method.
Happy to make a PR, once you approve @vividvilla
Thanks!
Sai
Context:
The
ticker.tslib has a rather elaborate and tedious way of handling the connection which may not suite for all use cases. For starters, you cannot set/change the access_token once a connection has been estabished since the package blocks the main thread. Therefore, although it might be useful for some cases, for any serious solution we should be able to handle the connection in a more customizable fashion.Question
Most of the library is straight forward and we've used all the necessary variables that we require from the class but apart from the
parseBinarymethod that follows a elaborate packet convention. It would immesenly help us out if we you can expose to this function as a static method.Happy to make a PR, once you approve @vividvilla
Thanks!
Sai