Interface: RegisterSWReturnValue

Properties

detachEventListeners()

detachEventListeners: () => Promise<void>

Removes all attached event listeners from the SW.

Returns

Promise<void>


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>