TabsBridgedEngineProtocol
public protocol TabsBridgedEngineProtocol : AnyObject, Sendable
The Desktop-facing bridged sync engine - a thin wrapper over the
sync15::engine::SyncEngine implemented by this component (see
sync15::engine::BridgedEngineWrapper).
It’s only actually used in desktop, but it’s fine to expose this everywhere.
NOTE: all timestamps here are milliseconds.
-
Declaration
Swift
func apply(serverModifiedMillis: Int64) throws -> [String] -
Declaration
Swift
func ensureCurrentSyncId(newSyncId: String) throws -> String -
Declaration
Swift
func lastSync() throws -> Int64 -
Declaration
Swift
func reset() throws -
Declaration
Swift
func resetLastSync() throws -
Declaration
Swift
func resetSyncId() throws -> String -
Declaration
Swift
func setClients(clientData: String) throws -
Declaration
Swift
func setUploaded(newTimestamp: Int64, uploadedIds: [String]) throws -
Declaration
Swift
func storeIncoming(incomingEnvelopesAsJson: [String]) throws -
Declaration
Swift
func syncFinished() throws -
Declaration
Swift
func syncId() throws -> String? -
Declaration
Swift
func syncStarted() throws -
Declaration
Swift
func wipe() throws