Abstract
Private
_cachePrivate
_commandPrivate
_sagaPrivate
_storeProcess an event in the context of a saga. In some cases, this means the event will do nothing as the saga is not equipped to handle it. If the saga is equipped to handle the event, the saga will process the event accordingly and register the correlationId and rollback process for use later if needed.
Rollback a specific transaction by correlationId.
Generated using TypeDoc
The Saga class allows coordinating a process across multiple domains. The base class provides transactional tracking and ability to rollback a given transaction automatically should a related command/event handler fail to process.
The saga should be extended with a series of methods decorated with the SagaStep decorator where each method defines the
IF... THEN...
progression of the saga.