kivancguckiran / grpc-js-promisify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grpc-js-promisify

to reproduce

npm install

Run server first:

npm run server

Open another terminal.

Success without promisify:

npm run without

Error with promisify:

npm run with

RESOLVED

Function utilizes this. So we need to use function binding with promisifyGrpc(client.test.bind(client));

About


Languages

Language:JavaScript 100.0%