RustTabs.sys.mjs
- class RustTabs.sys.TabsBridgedEngine()
Note the canonical docs for this are in https://searchfox.org/mozilla-central/source/services/interfaces/mozIBridgedSyncEngine.idl It’s only actually used in desktop, but it’s fine to expose this everywhere. NOTE: all timestamps here are milliseconds.
- RustTabs.sys.TabsBridgedEngine.apply()
apply
- Returns:
Array.<string> –
- RustTabs.sys.TabsBridgedEngine.ensureCurrentSyncId(newSyncId)
ensureCurrentSyncId
- Returns:
string –
- RustTabs.sys.TabsBridgedEngine.lastSync()
lastSync
- Returns:
number –
- RustTabs.sys.TabsBridgedEngine.prepareForSync(clientData)
prepareForSync
- RustTabs.sys.TabsBridgedEngine.reset()
reset
- RustTabs.sys.TabsBridgedEngine.resetSyncId()
resetSyncId
- Returns:
string –
- RustTabs.sys.TabsBridgedEngine.setLastSync(lastSync)
setLastSync
- RustTabs.sys.TabsBridgedEngine.setUploaded(newTimestamp, uploadedIds)
setUploaded
- RustTabs.sys.TabsBridgedEngine.storeIncoming(incomingEnvelopesAsJson)
storeIncoming
- RustTabs.sys.TabsBridgedEngine.syncFinished()
syncFinished
- RustTabs.sys.TabsBridgedEngine.syncId()
syncId
- Returns:
string –
- RustTabs.sys.TabsBridgedEngine.syncStarted()
syncStarted
- RustTabs.sys.TabsBridgedEngine.wipe()
wipe
- class RustTabs.sys.PendingCommand()
Represents a “pending” command.
- RustTabs.sys.PendingCommand.command
type: RemoteCommand
- RustTabs.sys.PendingCommand.deviceId
type: string
- RustTabs.sys.PendingCommand.timeRequested
type: Timestamp
- RustTabs.sys.PendingCommand.timeSent
type: Timestamp
- class RustTabs.sys.RemoteCommand()
A command which should be sent to a remote device.
- RustTabs.sys.RemoteCommand.CloseTab
- class RustTabs.sys.SyncError()
SyncError
- class RustTabs.sys.SqlError()
SqlError
- class RustTabs.sys.UnexpectedTabsError()
UnexpectedTabsError