Skip to content

Commit c399ea6

Browse files
author
haikalpribadi
committed
Define Transaction.Stream.ResPart with new State enum
1 parent e4abf53 commit c399ea6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

protobuf/transaction.proto

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,13 @@ message Transaction {
9999
}
100100

101101
message Stream {
102+
enum State {
103+
CONTINUE = 0;
104+
DONE = 1;
105+
}
102106
message Req {}
103107
message ResPart {
104-
bool is_done = 1;
108+
State state = 1;
105109
}
106110
}
107111

0 commit comments

Comments
 (0)