register method
The register() method of the SyncManager interface registers a
synchronization event, triggering a ServiceWorkerGlobalScope.sync_event
event inside the associated service worker as soon as network connectivity
is available.
Implementation
external JSPromise<JSAny?> register(String tag);