syncproperty of the
ServiceWorkerRegistrationinterface returns a reference to the
SyncManagerinterface, which manages background synchronization processes.
sync()method of the
DataStoreinterface opens a cursor that allows you to step through any changes that have taken place in the data store going back to a particular revision ID, and run code in response to different types of change.