ash-project / reactor

Reactor is a dynamic, concurrent, dependency resolving saga orchestrator.
https://ash-hq.org/
MIT License
44 stars 6 forks source link

Add `finally` step type. #8

Closed jimsynz closed 1 year ago

jimsynz commented 1 year ago

Basically a step that gets run if everything else is finished successfully. Allows you to emit events, or whatever.

jimsynz commented 1 year ago

I'm not sure that this is actually that useful. It would be a shorthand for making a step take every other step as an argument, and I think @zachdaniel's idea of a wait_for option is more interesting.