Skip to content

Commit

Permalink
Merge pull request grpc#2831 from ctiller/document-some-other-things
Browse files Browse the repository at this point in the history
Document finish
  • Loading branch information
yang-g committed Aug 7, 2015
2 parents be222f8 + 8e5de39 commit 03b1911
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/grpc++/stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 03b1911

Please sign in to comment.