Skip to content

RungsStore

Defined in: packages/core/src/model/store.ts:148

Persistence for the service. Everything passed in and out is plain JSON.

transaction<T>(fn): Promise<T>

Defined in: packages/core/src/model/store.ts:150

Runs fn atomically: all writes commit together, or none do when fn throws.

T

(tx) => Promise<T>

Promise<T>