Back to Content

ServiceWorkerRegistration: sync property

files/en-us/web/api/serviceworkerregistration/sync/index.md

latest410 B
Original Source

{{APIRef("Background Sync")}}{{SecureContext_Header}}{{AvailableInWorkers}}

The sync read-only property of the {{domxref("ServiceWorkerRegistration")}} interface returns a reference to the {{domxref("SyncManager")}} interface, which manages background synchronization processes.

Value

A {{domxref("SyncManager")}} object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}