The SyncManager
interface of the ServiceWorker API provides an interface for registering and listing sync registrations.
SyncManager
Properties
None.
Methods
-
SyncManager.register
-
Create a new sync registration and return a
Promise
. -
Return a list of developer-defined identifiers for SyncManager registration.
Specifications
Specification |
---|
Web Background Synchronization # sync-manager-interface |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
SyncManager |
49
|
79
|
No
|
No
|
36
|
No
|
49
|
49
|
No
|
36
|
No
|
5.0
|
getTags |
49
|
79
|
No
|
No
|
36
|
No
|
49
|
49
|
No
|
36
|
No
|
5.0
|
register |
49
|
79
|
No
|
No
|
36
|
No
|
49
|
49
|
No
|
36
|
No
|
5.0
|
worker_support |
61
49
Only available in the
Window and
ServiceWorker global scopes.
|
79
|
No
|
No
|
No
|
No
|
61
49
Only available in the
Window and
ServiceWorker global scopes.
|
61
49
Only available in the
Window and
ServiceWorker global scopes.
|
No
|
No
|
No
|
8.0
5.0
Only available in the
Window and
ServiceWorker global scopes.
|
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SyncManager