RungsStore
Defined in: packages/core/src/model/store.ts:148
Persistence for the service. Everything passed in and out is plain JSON.
Methods
Section titled “Methods”transaction()
Section titled “transaction()”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.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”(tx) => Promise<T>
Returns
Section titled “Returns”Promise<T>