package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Service_worker.GSource

Service worker global properties and functions.

See also Brr.G and Brr_io.Fetch.caches.

Sourceval clients : Clients.t

clients are the clients associated with the service worker.

Sourceval registration : Registration.t

registration is the service worker registration.

Sourceval service_worker : t

service_worker is the service worker.

Sourceval skip_waiting : unit -> unit Fut.or_error

skip_waiting () forces the waiting service to become the active service worker.