workbox-background-sync. BackgroundSyncPlugin
class static
Version
6.1.1
A class implementing the fetchDidFail
lifecycle callback. This makes it
easier to add failed requests to a background sync Queue.
Constructor
BackgroundSyncPlugin
new BackgroundSyncPlugin(name, options)
Parameter |
|
---|---|
name |
string See the Queue documentation for parameter details. |
options |
Optional Object See the Queue documentation for parameter details. |