Skip to content

Commit

Permalink
core: Improve clarity of RpcProgress meanings
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Mar 27, 2024
1 parent e630593 commit 569b426
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/main/java/io/grpc/internal/ClientStreamListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ public interface ClientStreamListener extends StreamListener {
*/
enum RpcProgress {
/**
* The RPC is processed by the server normally.
* The RPC may have been processed by the server.
*/
PROCESSED,
/**
* The stream on the wire is created but not processed by the server's application logic.
* Some part of the RPC may have been sent, but the server has guaranteed it didn't process any
* part of the RPC.
*/
REFUSED,
/**
Expand Down

0 comments on commit 569b426

Please sign in to comment.