Skip to content

StoreWorkerQuiesceOptions

Defined in: packages/client/src/worker/attach-sync-client.ts:357

Options for quiesceStoreWorker (ADR-0050).

optional storage?: SyncStorageDeclaration

Defined in: packages/client/src/worker/attach-sync-client.ts:361

The ADR-0050 storage declaration to post on the port. Omit (or {}) to state NO opinion — always compatible with whatever declaration the live worker already bound, so it can never be refused. Passing a concrete declaration risks a StorageDeclarationRefusedError if it disagrees with the bound one.


optional timeoutMs?: number

Defined in: packages/client/src/worker/attach-sync-client.ts:364

Bound on the whole handshake (declaration → placement reply → teardown ack). Default 6000ms. On timeout the returned promise REJECTS — the caller keeps the path on its retry list; it is NOT proof of teardown.


optional timers?: AttachClientTimers

Defined in: packages/client/src/worker/attach-sync-client.ts:366

Injectable timers (tests); defaults to real setTimeout/clearTimeout.