kernl
ReferencekernlInterfaces

Interface: Transaction

Defined in: packages/kernl/src/storage/base.ts:64

Transaction context providing transactional access to stores.

Properties

PropertyTypeDescriptionDefined in
threadsThreadStoreThread 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>

On this page