Skip to content

Commit

Permalink
Update pb file
Browse files Browse the repository at this point in the history
  • Loading branch information
dilanSachi committed Jun 27, 2024
1 parent 7346f08 commit e0b4204
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ public class FeatureStream {

public isolated function next() returns record {|Feature value;|}|grpc:Error? {
var streamValue = self.anydataStream.next();
if (streamValue is ()) {
if streamValue is () {
return streamValue;
} else if (streamValue is grpc:Error) {
} else if streamValue is grpc:Error {
return streamValue;
} else {
record {|Feature value;|} nextRecord = {value: <Feature>streamValue.value};
Expand Down

0 comments on commit e0b4204

Please sign in to comment.