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
| Name | Summary |
|---|---|
| cancel | abstract fun cancel() Cancel the stream, dropping the connection and unblocking a pending next. |
| isCanceled | abstract fun isCanceled(): Boolean Whether the stream has been canceled. |
| next | abstract suspend fun next(): GrpcCheckpointResponse? Get the next item from the stream. |