SyncManager: getTags() method

Note: This feature is available in Web Workers.

The getTags() method of the SyncManager interface returns a list of developer-defined identifiers for SyncManager registrations.

Syntax

js
getTags()

Parameters

None.

Return value

A Promise that resolves to an array of strings containing developer-defined identifiers for SyncManager registrations.

Specifications

Specification
Web Background Synchronization
# dom-syncmanager-gettags

Browser compatibility

BCD tables only load in the browser