bindings/periodic_background_sync library
Web Periodic Background Synchronization
Classes
- BackgroundSyncOptions
- PeriodicSyncEvent
-
The interface of the
Web Periodic Background Synchronization APIprovides a way to run tasks in the service worker with network connectivity. An instance of this event is passed to theServiceWorkerGlobalScope.onperiodicsynchandler. This happens periodically, at an interval greater than or equal to that set in thePeriodicSyncManager.register()method. Other implementation-specific factors such as the user's engagement with the site decide the actual interval. - PeriodicSyncEventInit
- PeriodicSyncManager
-
The interface of the
Web Periodic Background Synchronization APIprovides a way to register tasks to be run in a service worker at periodic intervals with network connectivity. These tasks are referred to as periodic background sync requests. Access through theServiceWorkerRegistration.periodicSync.