Skip to content

Rulvar API reference


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

Function: runSoakWriter()

ts
function runSoakWriter(
   fixture, 
   config, 
hooks?): Promise<void>;

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

The writer protocol: run it in a spawned process against the consumer-constructed store pair. Appends every observation to the report file; protocol-level anomalies (a stale acceptance, an unexpected error class) are logged as events for the referee, never thrown, so one writer's finding cannot vanish with its process.

Parameters

ParameterType
fixtureFencedTranscriptsFixture
configSoakWriterConfig
hooksSoakWriterHooks

Returns

Promise&lt;void&gt;