SyncEvent: lastChance property

Limited availability

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

Note: This feature is only available in Service Workers.

The lastChance read-only property of the SyncEvent interface returns true if the user agent will not make further synchronization attempts after the current attempt. This is the value passed in the lastChance parameter of the SyncEvent() constructor.

Value

A boolean value that indicates whether the user agent will not make further synchronization attempts after the current attempt.

Specifications

Specification
Web Background Synchronization
# ref-for-dom-syncevent-lastchance③

Browser compatibility

BCD tables only load in the browser