From 7fdb49bd3f9c299b08302b418c03ce5dd46592c6 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Thu, 3 Oct 2019 15:29:30 -0700 Subject: [PATCH] Doc update - Finish can be called only once --- include/grpcpp/impl/codegen/async_stream_impl.h | 2 +- include/grpcpp/impl/codegen/sync_stream_impl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/grpcpp/impl/codegen/async_stream_impl.h b/include/grpcpp/impl/codegen/async_stream_impl.h index 4b94c470a52..d9fa5f9968a 100644 --- a/include/grpcpp/impl/codegen/async_stream_impl.h +++ b/include/grpcpp/impl/codegen/async_stream_impl.h @@ -50,7 +50,7 @@ class ClientAsyncStreamingInterface { /// when the call has been ended. /// 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 /// (this can be declared implicitly by calling this method, or /// explicitly through an earlier call to the WritesDone method diff --git a/include/grpcpp/impl/codegen/sync_stream_impl.h b/include/grpcpp/impl/codegen/sync_stream_impl.h index ec9cf49862d..a69f4503e7e 100644 --- a/include/grpcpp/impl/codegen/sync_stream_impl.h +++ b/include/grpcpp/impl/codegen/sync_stream_impl.h @@ -38,7 +38,7 @@ class ClientStreamingInterface { /// Block waiting until the stream finishes and a final status of the call is /// 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 /// (this can be declared implicitly by calling this method, or /// explicitly through an earlier call to WritesDone method of the