ServiceWorkerRegistration: sync property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Note: This feature is available in Web Workers.

The sync read-only 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