SubscriptionState

sealed class SubscriptionState

Represents the state of a subscription for sync entities, i.e. SyncDocuments, SyncLists, SyncMaps and SyncStreams.

Inheritors

Types

Link copied to clipboard

The subscription has been successfully established.

Link copied to clipboard
data class Failed(val errorInfo: <Error class: unknown class>) : SubscriptionState

The subscription request has failed.

Link copied to clipboard

Sync entity has subscribers, but a subscription request hasn't been made yet.

Link copied to clipboard

The subscription request has been made but not yet acknowledged by the server.

Link copied to clipboard

The initial state, when no one listens for events from sync entity.