GrpcCheckpointStream
open class GrpcCheckpointStream : Disposable, AutoCloseable, 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.
Functions
| Name | Summary |
|---|---|
| cancel | open override fun cancel() Cancel the stream, dropping the connection and unblocking a pending next. |
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| isCanceled | open override fun isCanceled(): Boolean Whether the stream has been canceled. |
| next | open suspend override fun next(): GrpcCheckpointResponse? Get the next item from the stream. |