Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/store-conformance / SoakWriterHooks

Interface: SoakWriterHooks

Defined in: packages/store-conformance/src/multi-process-soak.ts:107

Consumer hooks for runSoakWriter.

Properties

PropertyTypeDescriptionDefined in
retryable?(thrown) => booleanClassifies a thrown store error as transient contention worth an in-place retry (for SqliteStore, the driver's SQLITE_BUSY under BEGIN IMMEDIATE). Typed LeaseHeldError and JournalOrderViolation are classified by the protocol itself and never reach this hook. Default: nothing is retryable.packages/store-conformance/src/multi-process-soak.ts:115