Skip to main content

GrpcCheckpointStreamInterface

interface GrpcCheckpointStreamInterface

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.

Inheritors​

GrpcCheckpointStream

Functions​

NameSummary
cancelabstract fun cancel()
Cancel the stream, dropping the connection and unblocking a pending next.
isCanceledabstract fun isCanceled(): Boolean
Whether the stream has been canceled.
nextabstract suspend fun next(): GrpcCheckpointResponse?
Get the next item from the stream.