aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2016-01-06 07:32:10 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2016-01-06 07:32:10 -0800
commit0ede550acb2c58266f1bf01d18ab131e354879d4 (patch)
tree694294e22dd597b161ef52ba37129b097c9e329f /include/grpc++/support
parent9bda5a8f0be644e275a69efbc409a3b23a3bfbb7 (diff)
Update async write documentation
Diffstat (limited to 'include/grpc++/support')
-rw-r--r--include/grpc++/support/async_stream.h4
1 files changed, 4 insertions, 0 deletions
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;