here's a good way to do the for loop for streams: ...
# spicedb
j
here's a good way to do the for loop for streams:
Copy code
for err := stream.RecvMsg(msg); !errors.Is(err, io.EOF); err = stream.RecvMsg(msg) { ... }