Skip to main content

Class: InMemoryDemoRunStore

Defined in: packages/agentos/src/io/channels/meetings/stores/demo.ts:68

Single-process reference adapter with rollback and the same transaction serialization.

Implements​

Constructors​

Constructor​

new InMemoryDemoRunStore(): InMemoryDemoRunStore

Returns​

InMemoryDemoRunStore

Methods​

toJSON()​

toJSON(): string

Defined in: packages/agentos/src/io/channels/meetings/stores/demo.ts:99

Does not serialize credentials, visitors or rows.

Returns​

string


transaction()​

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

Defined in: packages/agentos/src/io/channels/meetings/stores/demo.ts:72

Holds the reference transaction through awaited, bounded delivery callbacks.

Type Parameters​

T​

T

Parameters​

work​

(tx) => Promise<T>

Returns​

Promise<T>

Implementation of​

IDemoRunStore.transaction