{ "id": "api/service-worker/UnrecoverableStateEvent", "title": "UnrecoverableStateEvent", "contents": "\n\n
\n
\n
\n \n API > @angular/service-worker\n
\n \n
\n \n
\n

UnrecoverableStateEventlink

\n \n \n \n \n \n
\n \n \n\n
\n \n
\n

An event emitted when the version of the app used by the service worker to serve this client is\nin a broken state that cannot be recovered from and a full page reload is required.

\n\n

See more...

\n
\n \n \n
\n\ninterface UnrecoverableStateEvent {\n type: 'UNRECOVERABLE_STATE'\n reason: string\n}\n\n\n \n \n\n\n \n \n\n
\n\n \n
\n

See alsolink

\n \n
\n\n\n \n \n
\n

Descriptionlink

\n

For example, the service worker may not be able to retrieve a required resource, neither from the\ncache nor from the server. This could happen if a new version is deployed to the server and the\nservice worker cache has been partially cleaned by the browser, removing some files of a previous\napp version but not all.

\n\n \n
\n\n \n
\n

Propertieslink

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
PropertyDescription
\n \n type: 'UNRECOVERABLE_STATE'\n \n \n \n \n
\n \n reason: string\n \n \n \n \n
\n
\n \n\n\n \n\n\n
\n
\n\n\n" }