See this for an example of what you are looking for:
https://github.com/lbj137/repo1

On Sun, Nov 1, 2020 at 9:11 PM Christopher Pisz <[email protected]>
wrote:

> I am trying to learn how to use gRPC asynchronously in C++. Going over the
> client example at
> https://github.com/grpc/grpc/blob/v1.33.1/examples/cpp/helloworld/greeter_async_client.cc
>  I
> don't see how anything asynchronous is being demonstrated. There is one and
> only one RPC call, and it blocks on the main thread until the server
> processes it and the result is sent back.
>
> What I need to do is create a client that can make one RPC call, and then
> start another while waiting for the result of the first to come back from
> the server.
>
> I've got no idea how to go about that.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/40cb4185-1987-40c2-b4c4-793146ac63een%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/40cb4185-1987-40c2-b4c4-793146ac63een%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAA-WHukt_yOJhyK6_C69CBUWgoWSeL17gRDd9PbXt%2B91djBerA%40mail.gmail.com.

Reply via email to