SyncSubscriptionState
public enum SyncSubscriptionState: Equatable
The possible states of a sync subscription.
-
The subscription is being created, but has not yet been written to the synced Realm.
Declaration
Swift
case creating
-
The subscription has been created, and is waiting to be processed by the server.
Declaration
Swift
case pending
-
The subscription has been processed by the server, and objects matching the subscription are now being synchronized to this client.
Declaration
Swift
case complete
-
The subscription has been removed.
Declaration
Swift
case invalidated
-
An error occurred while creating the subscription or while the server was processing it.
Declaration
Swift
case error(Error)
-
Declaration
Swift
public static func == (lhs: SyncSubscriptionState, rhs: SyncSubscriptionState) -> Bool
Parameters
lhs
rhs