mirror of
https://github.com/lexmount/moli.git
synced 2026-11-21 00:03:15 +00:00
Retain an opted-in worker after its last client leaves, including during script loading. Use the browser-context resource executor to schedule the same idle duration as ServiceWorker and expire it on the owner lane. Reattachment updates the deadline, and stale timeouts cannot remove a replacement or an attached worker. Retain one renderer owner for the service lane while extended-lifetime hosts exist, so script completions and timeouts continue to run even when the browser context has no open page targets.