SentinelMarker

sealed class SentinelMarker

Sentinel marker, that serves as an indicator that the current initial sync has finished for this websocket session.

Inheritors

Types

Link copied to clipboard
data class Marker(val value: String) : SentinelMarker

A marker for the current initial sync, with a uuid value that will be compared against the sentinel event sent by the server.

Link copied to clipboard
data object None : SentinelMarker

No current marker, used for the legacy system or when the initial sync is finished.

Functions

Link copied to clipboard
fun getMarker(): String

Returns the marker, if any, otherwise an empty string.