Transactional decorators for TypeScript
Interfaces
- TransactionLock
Defines the contract for transaction lock implementations that manage transaction execution order and concurrency
Members
TransactionalKeysType
# static constant TransactionalKeys
Constant object containing string keys used throughout the transactional system for reflection and identification
Keys used for transactional operations
# static constant VERSION
Stores the current package version string, used for version tracking and compatibility checks
Package version identifier
Type Definitions
# LockCallable(valueopt)
Defines a callable function type as perceived by the transaction lock, used for resolving promises in the lock implementation
Function type for transaction lock callbacks
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
value |
void
|
PromiseLike.<void>
|
<optional> |
Object
# TransactionalKeysType
Properties:
| Name | Type | Description |
|---|---|---|
REFLECT |
string
|
Key used for reflection metadata related to transactional models |
TRANSACTIONAL |
string
|
Key used to identify transactional properties |