MemoryStore
Defined in: packages/store-memory/src/index.ts:47
Extends
Section titled “Extends”RungsStore
Methods
Section titled “Methods”snapshot()
Section titled “snapshot()”snapshot():
MemorySnapshot
Defined in: packages/store-memory/src/index.ts:48
Returns
Section titled “Returns”transaction()
Section titled “transaction()”transaction<
T>(fn):Promise<T>
Defined in: packages/core/dist/store-tzQ-q-TS.d.ts:143
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>
Inherited from
Section titled “Inherited from”RungsStore.transaction