Skip to content

@vite-pwa/workbox-swkit/background-sync ​

Package

Declaration: @vite-pwa/workbox-swkit/background-sync

Class Summary ​

TypeDescription
BackgroundSyncPlugin A class implementing the fetchDidFail lifecycle callback. This makes it easier to add failed requests to a background sync Queue.
Queue A class to manage storing failed requests in IndexedDB and retrying them later. All parts of the storing and replaying process are observable via callbacks.

Interface Summary ​

TypeDescription
OnSyncCallback
OnSyncCallbackOptions
QueueEntry
QueueOptions

Released under the MIT License.