node-jsonrpc2 icon indicating copy to clipboard operation
node-jsonrpc2 copied to clipboard

Promise Support for Server and Client Methods

Open colceagus opened this issue 7 years ago • 1 comments

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?

colceagus avatar Sep 30 '16 19:09 colceagus