Interface: UseRegisterSWReturnValue
Extends
Properties
newSwActive
newSwActive:
BooleanSignal
The new SW is controlling the page.
Inherited from
RegisterSwBindingReturnValue.newSwActive
newSwWaiting
newSwWaiting:
BooleanSignal
The newer SW gets installed alongside the previous one, but the old one is still controlling the page.
Inherited from
RegisterSwBindingReturnValue.newSwWaiting
offlineReady
offlineReady:
BooleanSignal
The SW is ready to work offline.
Inherited from
RegisterSwBindingReturnValue.offlineReady
skipWaiting()
skipWaiting: () =>
Promise<void>
Sends a {type: 'SKIP_WAITING'} message to the SW that's currently in the waiting state associated with the current registration.
Returns
Promise<void>