ash-project / reactor

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

feat(Step.Around): Add ability to wrap a function around a group of steps #24

Closed jimsynz closed 1 year ago

jimsynz commented 1 year ago

This PR adds an around DSL entity and Reactor.Step.Around which can be used to wrap a group of steps in a function call.

I decided to do around and before/after as separate entities/features as they have different enough behaviour.

zachdaniel commented 1 year ago

I think at some point we’ll also want something that allows for modifying the steps and then leveraging the standard compose logic.