Brr_webworkers.Service_workerService workers.
See the Service Worker API.
The fetch caches and events are in Brr_io.Fetch.
These APIs are used by the web page to install the service worker. Start your journey with Service_worker.Container.of_navigator.
module Update_via_cache : sig ... endUpdate via cache enum.
module State : sig ... endState enum.
The type for ServiceWorker objects.
val as_target : t -> Brr.Ev.targetas_target w is w as an event target.
script_url w is the script URL specified during registration for w.
Ressources preloading
module Registration : sig ... endService registration objects.
module Container : sig ... endService worker containers.
These APIs are used by the service worker.
module Client : sig ... endClient objects.
module Clients : sig ... endClients objects.
module G : sig ... endService worker global properties and functions.