Thanks a lot. Not it is clear.

Lsk.

W dniu środa, 2 listopada 2016 14:06:48 UTC+1 użytkownik lsk napisał:
>
> 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/42d9fd8d-8507-40ff-8cb3-fca43581c865%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to