Hi I tried to find info about it but failed. I'm using grpc nodejs client 
in Express.js server app and I can not figure out if I can share a client 
object instance between multiple http request.

I already figure out that I need to use promises to properly achieve Async 
calls. But that is another story. Each http request is managed by Express 
middelware stack, which define a set of functions which will be called 
before returning the response (in simplication).  At some point I call let 
say client.sayHello(). Can I do that? Or do I need to have a pool of client 
object? 

Also how to check the status of client connection? If it is busy, ready, 
etc.?

Lsk.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/de61e8d7-9e48-4302-ac23-73b0da4021d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to