Skip to content

feat: Allow Reactors to be able to be undone after successful completion#262

Merged
jimsynz merged 1 commit intomainfrom
fully-reversible
Sep 12, 2025
Merged

feat: Allow Reactors to be able to be undone after successful completion#262
jimsynz merged 1 commit intomainfrom
fully-reversible

Conversation

@jimsynz
Copy link
Copy Markdown
Contributor

@jimsynz jimsynz commented Sep 12, 2025

This change:

  1. adds the fully_reversible? option to Reactor.run/4 which changes the return behaviour to include the completed Reactor struct in a successful result.
  2. adds the Reactor.undo/3 function which allows the reversal of a previously successful Reactor.

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@jimsynz jimsynz requested a review from a team September 12, 2025 13:17
@jimsynz jimsynz merged commit 34f6b13 into main Sep 12, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants