After i changed server.bind to bindAsync
i am getting TypeError: callback must be a function
As a result i passed a function as a third parameter then i am getting
Error: server must be bound in order to start
How can i convert grpc to grpc-js :(
server.bindAsync is an async function, so the callback function indicates that the operation is complete. So, you should call server.start in the callback.
yes i discovered that thanks.
Most helpful comment
server.bindAsyncis an async function, so the callback function indicates that the operation is complete. So, you should callserver.startin the callback.