Expand description
Decision state handler
Listens for TransactionStateChanged events and manages decision lifecycle:
- Expires pending/delivered decisions when a transaction reaches a terminal state (Rejected, Cancelled, Reverted)
- Resolves pending/delivered decisions when the corresponding action is observed (e.g., authorization_required decisions resolved when state becomes Authorized)
Structsยง
- Decision
State Handler - Manages decision lifecycle based on transaction state changes