@frozen
public struct SyncConfiguration : Sendable
A SyncConfiguration
represents configuration parameters for Realms intended to sync with Atlas App Services.
The SyncUser
who owns the Realm that this configuration should open.
Swift
public var user: User { get }
The value this Realm is partitioned on. The partition key is a property defined in Atlas App Services. All classes with a property with this value will be synchronized to the Realm.
DeclarationSwift
public var partitionValue: AnyBSON? { get }
An enum which determines file recovery behavior in the event of a client reset.
Note
Defaults to .recoverUnsyncedChanges
By default, Realm.asyncOpen() swallows non-fatal connection errors such as a connection attempt timing out and simply retries until it succeeds. If this is set to true
, instead the error will be reported to the callback and the async open will be cancelled.
Swift
public var cancelAsyncOpenOnNonFatalErrors: Bool { get }
A configuration that controls how initial subscriptions are populated when the Realm is opened.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4