AngularTS
    Preparing search index...

    Interface ServiceWorkerUpdateState

    Template-friendly snapshot of update-related service-worker state.

    interface ServiceWorkerUpdateState {
        checking: boolean;
        controllerChanged: boolean;
        error?: unknown;
        errorCode?: "no-registration" | "update-failed";
        lastCheckedAt?: number;
        phase?: ServiceWorkerState;
        registration?: ServiceWorkerRegistration;
        waiting: boolean;
        worker?: ServiceWorker;
    }
    Index

    Properties

    checking: boolean

    True while an explicit update check is in flight.

    controllerChanged: boolean

    True when the active worker changed during the current page lifetime.

    error?: unknown

    Native error preserved for diagnostics.

    errorCode?: "no-registration" | "update-failed"

    Stable failure code from the last update-related operation.

    lastCheckedAt?: number

    Last successful update-check time in epoch milliseconds.

    phase?: ServiceWorkerState

    Latest observed service worker lifecycle phase.

    registration?: ServiceWorkerRegistration

    Registration associated with the latest update event.

    waiting: boolean

    True when a waiting worker has been discovered.

    worker?: ServiceWorker

    Worker associated with the latest update event.