Interface: UseRegisterSWReturnValue

Extends

Properties

newSwActive

newSwActive: BooleanStateTuple

The new SW is controlling the page.

Inherited from

RegisterSwBindingReturnValue.newSwActive


newSwWaiting

newSwWaiting: BooleanStateTuple

The newer SW gets installed alongside the previous one, but the old one is still controlling the page.

Inherited from

RegisterSwBindingReturnValue.newSwWaiting


offlineReady

offlineReady: BooleanStateTuple

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>

Inherited from

RegisterSWReturnValue.skipWaiting