← 返回首页
SyncManager - Web APIs | MDN

SyncManager

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Note: This feature is available in Web Workers.

The SyncManager interface of the Background Synchronization API provides an interface for registering and listing sync registrations.

In this article

Instance properties

None.

Instance methods

SyncManager.register()

Create a new sync registration and return a Promise.

SyncManager.getTags()

Return a list of developer-defined identifiers for SyncManager registrations.

Specifications

Specification
Web Background Synchronization
# sync-manager-interface

Browser compatibility

Enable JavaScript to view this browser compatibility table.