On Tuesday, March 12, 2019 at 3:22:26 AM UTC-7, [email protected] wrote:
> Ah, so the server is also running if I dont call wait?

Yes. Among other things, BuildAndStart() starts listenting for requests.

Wait() is using during shutdown typically. Here's an excerpt from the
documentation for Wait() [1] that :

> Block waiting for all work to complete.
>
> Warning
>
> The server must be either shutting down or some other thread must call
> Shutdown for this function to ever return.

[1]: 
https://grpc.io/grpc/cpp/classgrpc_1_1_server_interface.html#ac36477b6a7593a4e4608c7eb712b0d70

--
Christopher Warrington
Microsoft Corp.

-- 
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/c3cca858-e2fe-4533-a015-f8fa3766caf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to