Browse documentation

QueueState

Type. Offline queue counters and sync state.

Table of contents

Category

Type

Type import

ts
import type { QueueState } from "valyrian.js/offline";

Public signature

ts
type 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.