Merge pull request #4630 from ctiller/document_write

Update async write documentation
pull/4632/head
Vijay Pai 9 years ago
commit 2cf57db6f3
  1. 4
      include/grpc++/support/async_stream.h

@ -85,6 +85,10 @@ class AsyncWriterInterface {
/// Request the writing of \a msg with identifying tag \a tag. /// 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] msg The message to be written.
/// \param[in] tag The tag identifying the operation. /// \param[in] tag The tag identifying the operation.
virtual void Write(const W& msg, void* tag) = 0; virtual void Write(const W& msg, void* tag) = 0;

Loading…
Cancel
Save