diff options
Diffstat (limited to 'include/grpc++/support')
-rw-r--r-- | include/grpc++/support/async_stream.h | 4 |
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; |