SyncManager

E745844

SyncManager is a JavaScript interface used to schedule and manage background synchronization tasks for web applications via the Background Sync API.

Jump to: Statements Referenced by

Statements (46)

Predicate Object
instanceOf Background Sync API interface
JavaScript interface
Web API interface
accessedVia ServiceWorkerRegistration.sync
availableIn HTTPS pages
secure contexts only
category Web Platform API NERFINISHED
definedIn Service Workers specification NERFINISHED
designedTo allow sync when network connectivity is available
defer network operations until the user has connectivity
documentation MDN Web Docs: SyncManager NERFINISHED
environment web browser
errorCondition register() may reject if tag is invalid
throws if Background Sync is not supported
eventDispatchedTo ServiceWorkerGlobalScope NERFINISHED
exposedOn ServiceWorkerRegistration NERFINISHED
getTagsResolvesTo sequence of strings
language JavaScript NERFINISHED
lifecycle tied to ServiceWorkerRegistration
method getTags()
register()
namespace WindowOrWorkerGlobalScope via registration.sync
partOf Background Sync API NERFINISHED
persistence sync registrations can persist across browsing sessions
registerParameter tag string
registerResolvesTo SyncRegistration NERFINISHED
relatedEvent SyncEvent
relatedInterface ServiceWorkerRegistration NERFINISHED
SyncRegistration NERFINISHED
requires service worker registration
user agent support for Background Sync
returnsFromGetTags Promise
returnsFromRegister Promise
securityConstraint subject to user agent policies and permissions
specStatus experimental
standardizedBy W3C NERFINISHED
subjectTo browser-specific support and flags
supports one-off background sync
tagUniqueness each sync registration is identified by a tag string
triggersEvent sync event in service worker
useCase background data synchronization for web apps
retrying failed network requests later
sending analytics or logs when online
usedFor managing background synchronization tasks
scheduling background synchronization tasks
usedInContext service worker global scope

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.