Static
Returns the registered SW for the path. It uses the functions in service-worker-manager.ts module.
service-worker-manager.ts
Optional
the Service Worker
if not running in a browser environment
Set up and register the Service Worker, ensuring it's done once at most. It uses the functions in service-worker-manager.ts module.
Returns the registered SW for the path. It uses the functions in
service-worker-manager.tsmodule.