Skip to main content

Module halt

Module halt 

Source
Expand description

Fail-stop signaling for the event store writer.

The kernel registers a HaltCallback when constructing the writer. The writer invokes the callback once on the first unrecoverable condition: a submit-side backpressure stall that exceeded the configured threshold, or a backend error that breaks the audit contract (disk pressure, corruption, surface I/O failure). The callback is the kernel’s signal to fail-stop trading; it is fired exactly once before the writer ceases to accept further entries.

Enums§

HaltReason
Reason a writer requested kernel halt.

Functions§

noop_halt
Returns a HaltCallback that performs no action.

Type Aliases§

HaltCallback
Callback invoked once on the first unrecoverable writer condition.