Skip to content

Add WithOnFailure for the Saga operation #83

@alonf

Description

@alonf

Add the ability for an operation to act upon failure. The Undo operation gets called when the operation succeeds, but the saga fails due to another operation failure. The OnFailure gets called when the current operation fails. This allow taking cleanup actions for a semi-executed operation, since the Undo will not be called for non completed operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions