Interface: Transaction
Defined in: packages/kernl/src/storage/base.ts:64
Transaction context providing transactional access to stores.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
threads | ThreadStore | Thread store within this transaction. | packages/kernl/src/storage/base.ts:68 |
Methods
commit()
commit(): Promise<void>;Defined in: packages/kernl/src/storage/base.ts:77
Commit the transaction.
Returns
Promise<void>
rollback()
rollback(): Promise<void>;Defined in: packages/kernl/src/storage/base.ts:82
Rollback the transaction.
Returns
Promise<void>