You can have a simultaneous pending read and write operation on a stream in
the C++ async API, no problem. Ping-pong is not required for any gRPC
streaming operations.

On Wed, Feb 22, 2017 at 4:45 PM Arpit Baldeva <[email protected]> wrote:

> Hi,
>
> For bi-directional streaming, can I have both pending read and write
> operations at the same time (1 of each)?
>
> All the examples I found so far seem to do ping-pong behavior (1 read
> followed by 1 write) but I don't recall reading any documentation that
> mentions this constraint on protocol level. In other words, can I do
> multiple reads followed by a single write (and vice versa)? And if that is
> true, I'd like to be able to request both async read and write at the same
> time.
>
> Thanks.
>
> --
> 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/a8324087-4dcf-45c3-bd99-ca187b4cb993%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/a8324087-4dcf-45c3-bd99-ca187b4cb993%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CADEy0h1_5ATEsX7-yvX5%3D6cuXT%3D2cEgeAA2RHrK_dTj%3DUSLU1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to