English
BackgroundSyncPlugin
Class @vite-pwa/workbox-swkit/background-syncA class implementing the fetchDidFail lifecycle callback. This makes it easier to add failed requests to a background sync Queue.
Constructor
ts
new BackgroundSyncPlugin(name: string, options?: QueueOptions)Parameters
name– See the workbox-background-sync.Queue documentation for parameter details.options– See the workbox-background-sync.Queue documentation for parameter details.