Skip to main content

Module store

Module store 

Source
Expand description

The Store handle — owns the SQLite connection, runs migrations, and exposes append/list/milestone ops.

Writes are synchronous on the caller’s thread. With WAL journalling and our <1 kB event rows, a commit lands in microseconds on modern hardware; a thread-boundary would cost more than the write itself. If that becomes untrue under plugin-heavy loads, see the commented-out spawn_blocking skeleton at the bottom of this file.

Structs§

Store
Session-store handle.