Skip to main content

GrpcCheckpointStreamProtocol

GrpcCheckpointStreamProtocol​

protocol GrpcCheckpointStreamProtocol : AnyObject, Sendable

A stream of checkpoints returned by [GrpcClient::checkpoints_stream].

Call next in a loop to receive items; it returns None once the stream is exhausted or cancel has been called.