QueueState
Type. Offline queue counters and sync state.
Table of contents
Category
Type
Type import
tsimport type { QueueState } from "valyrian.js/offline";Public signature
tstype QueueState = { pending: number; failed: number; syncing: boolean; lastSyncAt: number | null; lastError: string | null; };Type usage
QueueState summarizes pending work, failed work and the latest synchronization outcome.