Skip to content

createOfflineQueue

createOfflineQueue(opts): OfflineQueue

Durable queue for idempotent mutations. Only retryable failures (network, 5xx) are queued; a rejected mutation (bad input, not found) is thrown to the caller because replaying it would fail again.

(operation, variables) => Promise<unknown>

string

() => number

QueueStorage

OfflineQueue