API reference › @evolu/common › local‑first/Db › startDbWorker
function startDbWorker(
self: WorkerSelf<DbWorkerInit>,
): Task<void, never, DbWorkerDeps>;
Defined in: packages/common/src/local-first/Db.ts:296
Starts the platform-agnostic Evolu DbWorker and owns its resources until it refuses startup or fails, the worker receives a dispose message, the SharedWorker that requested it ends, or its Run is aborted.