SwoffSwoff

queueMutation

Register for offline replay (IndexedDB).

queueMutation(mutation, options?)

From swoff/mutation/queue.ts. Queue a write for offline replay.

ParamTypeDescription
mutationStoredMutation{ url, method, body? }
optionsQueueOptions
import { queueMutation } from "swoff/mutation/queue";

On this page