ServiceWorkerRegistration: sync property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The sync property of the ServiceWorkerRegistration interface returns a reference to the SyncManager interface, which manages background synchronization processes.

Value

A SyncManager object.

Specifications

Specification
Web Background Synchronization
# dom-serviceworkerregistration-sync

Browser compatibility

BCD tables only load in the browser