Create the service-worker message bus with repositories and handler configuration.
Start the message bus and attach service-worker event listeners.
Stop the message bus, cancel ticks, and stop all registered handlers.
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.
Create the service-worker message bus with repositories and handler configuration.