Implement promises
antoine-pous opened this issue · 2 comments
antoine-pous commented
Hi,
can you implement promise when the callback is not provided? Promises are really usefull :)
svenpaulsen commented
To be honest... I'm not familiar with the concept of promises. Can you provide a short example?
antoine-pous commented
You can see an implementation on my ServerQuery client here https://github.com/antoine-pous/node-teamspeak3-client
I'm not familiar with this approach to interface the SDK and nodejs, i don't know how to update the sources to improve the compiled code in ts3client.node and implement Promises and eventemitter2.
If you want you can take a look to my fork https://github.com/antoine-pous/node-ts3sdk-client/tree/typescript-tested