core: Improve clarity of RpcProgress meanings

This commit is contained in:
Eric Anderson 2024-03-27 14:14:29 -07:00
parent e6305930de
commit 569b426d62
1 changed files with 3 additions and 2 deletions

View File

@ -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,
/**