StoreWorkerQuiesceOptions
Defined in: packages/client/src/worker/attach-sync-client.ts:357
Options for quiesceStoreWorker (ADR-0050).
Properties
Section titled “Properties”storage?
Section titled “storage?”
optionalstorage?: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.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?: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.
timers?
Section titled “timers?”
optionaltimers?:AttachClientTimers
Defined in: packages/client/src/worker/attach-sync-client.ts:366
Injectable timers (tests); defaults to real setTimeout/clearTimeout.