node-jsonrpc2
node-jsonrpc2 copied to clipboard
Promise Support for Server and Client Methods
The client and server methods should support promises. I hit this while I was writing the tests for the Cookie and JWT Authorization Feature. Calling a method on the server should be able to return a promise.
I'd be happy to promisify the client and server code.
What is your opinion on this feature?
I'm all in for promise support. The time this module was written callback was the norm ;)