Back to Content

SyncEvent: lastChance property

files/en-us/web/api/syncevent/lastchance/index.md

latest592 B
Original Source

{{APIRef("Background Sync")}}{{AvailableInWorkers("service")}}

The lastChance read-only property of the {{domxref("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 {{domxref("SyncEvent.SyncEvent","SyncEvent()")}} constructor.

Value

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

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}