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
# inner constant COMMIT
Stores the current git commit hash for the package. The build replaces the placeholder with the actual commit hash at publish time.
Represents the current commit hash of the module build.
# inner constant FULL_VERSION
Stores the semver version and commit hash for the package.
The build replaces the placeholder with the actual <version>-<commit> value at publish time.
Represents the full version string of the module.
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 |