Package-level declarations
Types
Link copied to clipboard
Summary emitted after executing OfflineMutationQueue.flush.
Link copied to clipboard
class OfflineMutationQueue(backingStore: KeyValueStore, clock: Clock = SystemClock(), uuidGenerator: UuidGenerator = RandomUuidGenerator(), maxQueueSize: Int = DEFAULT_MAX_QUEUE_SIZE, maxRetries: Int = DEFAULT_MAX_RETRIES, storageKey: String = DEFAULT_STORAGE_KEY, json: Json = DefaultSyncJson)
Local-first durable FIFO mutation queue backed by a KeyValueStore and bounded capacity.
Link copied to clipboard
data class OfflineQueueStatus(val pendingCount: Int, val isFlushing: Boolean = false, val lastFlushedEpochMillis: Long? = null, val droppedDeadLetters: Int = 0)
Aggregate metrics describing the current OfflineMutationQueue backlog.
Link copied to clipboard
@Serializable
Durable offline mutation record waiting to be synchronized with a remote backend.