Skip to content
Snippets Groups Projects
Commit 03b19118 authored by Yang Gao's avatar Yang Gao
Browse files

Merge pull request #2831 from ctiller/document-some-other-things

Document finish
parents be222f8e 8e5de39f
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,11 @@ class ClientStreamingInterface {
// client side declares it has no more message to send, either implicitly or
// by calling WritesDone, it needs to make sure there is no more message to
// be received from the server, either implicitly or by getting a false from
// a Read(). Otherwise, this implicitly cancels the stream.
// a Read().
// This function will return either:
// - when all incoming messages have been read and the server has returned
// status
// - OR when the server has returned a non-OK status
virtual Status Finish() = 0;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment