Doc update - Finish can be called only once

pull/20477/head
Yash Tibrewal 5 years ago
parent 3f523c1ff8
commit 7fdb49bd3f
  1. 2
      include/grpcpp/impl/codegen/async_stream_impl.h
  2. 2
      include/grpcpp/impl/codegen/sync_stream_impl.h

@ -50,7 +50,7 @@ class ClientAsyncStreamingInterface {
/// when the call has been ended. /// when the call has been ended.
/// Should not be used concurrently with other operations. /// Should not be used concurrently with other operations.
/// ///
/// It is appropriate to call this method when both: /// It is appropriate to call this method exactly once when both:
/// * the client side has no more message to send /// * the client side has no more message to send
/// (this can be declared implicitly by calling this method, or /// (this can be declared implicitly by calling this method, or
/// explicitly through an earlier call to the <i>WritesDone</i> method /// explicitly through an earlier call to the <i>WritesDone</i> method

@ -38,7 +38,7 @@ class ClientStreamingInterface {
/// Block waiting until the stream finishes and a final status of the call is /// Block waiting until the stream finishes and a final status of the call is
/// available. /// available.
/// ///
/// It is appropriate to call this method when both: /// It is appropriate to call this method exactly once when both:
/// * the calling code (client-side) has no more message to send /// * the calling code (client-side) has no more message to send
/// (this can be declared implicitly by calling this method, or /// (this can be declared implicitly by calling this method, or
/// explicitly through an earlier call to <i>WritesDone</i> method of the /// explicitly through an earlier call to <i>WritesDone</i> method of the

Loading…
Cancel
Save