Batch SDK - Web
    Preparing search index...

    Interface ISDKServiceWorkerConfiguration

    interface ISDKServiceWorkerConfiguration {
        automaticallyRegister?: boolean;
        registration?: Promise<ServiceWorkerRegistration>;
        waitTimeout?: number;
    }
    Index
    automaticallyRegister?: boolean

    Whether Batch should automatically register its service worker (default: true).

    registration?: Promise<ServiceWorkerRegistration>

    Allows you to have Batch use a specific Service Worker registration. (requires automaticallyRegister to be false).

    waitTimeout?: number

    Maximum waiting time for your Service Worker to be ready (default: 10 seconds).