package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

brr-0.0.9.tbz
sha512=45cdf73c6a23c8fc4609a32ae2196d4790e5bdba34ca0b784bff9c0b70dab233eb336f1c11dc3002451042ff4cf25b643098ad0d011f14c3d6175842113bed21

doc/brr/Brr_webworkers/Service_worker/G/index.html

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.