← Chrome 148 reference

v148 · web api · covered on mdn

Extended lifetime shared workers

A new extendedLifetime: true option on the SharedWorker constructor keeps the worker alive after all its clients have unloaded. This lets pages hand off in-flight async work — network requests, IndexedDB writes, analytics flushes — to a shared worker that outlives any individual page, without needing a Service Worker.

this feature is documented on MDN

MDN: SharedWorker

MDN's SharedWorker reference documents the extendedLifetime constructor option (“can be set to keep a shared worker alive”) together with the API's browser compatibility. gendn doesn't duplicate that here.

quick reference

Constructor optionnew SharedWorker(url, { extendedLifetime: true })
EffectWorker stays alive after the last client unloads; terminates when it becomes idle (no pending tasks, microtasks, or Web Locks)
Standard SharedWorkerTerminates as soon as the last client disconnects
Shipped inChrome 148 (desktop + Android + WebView)
Origin trial ranChrome 139 – 148
Blog postExtended lifetime shared workers — Chrome for Developers
ChromeStatus5138641357373440 — Extended lifetime shared workers
Source: chromestatus.com/feature/5138641357373440; MDN, October 2026.