Skip to main content

Interface: ICompoundCreditStore

Defined in: packages/agentos/src/safety/runtime/CompoundCreditStore.ts:288

A store of compound credit rows.

Methods​

withTransaction()​

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

Defined in: packages/agentos/src/safety/runtime/CompoundCreditStore.ts:290

Runs fn in one transaction: every write of it commits, or none does.

Type Parameters​

T​

T

Parameters​

fn​

(trx) => Promise<T>

Returns​

Promise<T>