From 0ede550acb2c58266f1bf01d18ab131e354879d4 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 6 Jan 2016 07:32:10 -0800 Subject: Update async write documentation --- include/grpc++/support/async_stream.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/grpc++/support') diff --git a/include/grpc++/support/async_stream.h b/include/grpc++/support/async_stream.h index b4dae30cd5..823fcd2e8e 100644 --- a/include/grpc++/support/async_stream.h +++ b/include/grpc++/support/async_stream.h @@ -85,6 +85,10 @@ class AsyncWriterInterface { /// Request the writing of \a msg with identifying tag \a tag. /// + /// Only one write may be outstanding at any given time. This means that + /// after calling Write, one must wait to receive \a tag from the completion + /// queue BEFORE calling Write again. + /// /// \param[in] msg The message to be written. /// \param[in] tag The tag identifying the operation. virtual void Write(const W& msg, void* tag) = 0; -- cgit v1.2.3