In the docs it is described steps can be dynamically created, but I see no docs on what it is expected to return.
Here is the example from the docs:
def run(arguments, context, step) do # Process data and determine what steps to create new_steps = build_dynamic_steps(arguments.data) {:ok, result, new_steps}end
def run(arguments, context, step) do # Process data and determine what steps to create new_steps = build_dynamic_steps(arguments.data) {:ok, result, new_steps}end
Reactor is a dynamic, concurrent, dependency resolving saga orchestrator. - ash-project/reactor
Solution
Here is an AI generated answer because I'm short on time. I've had really good luck with deepwiki, and reviewed what it said and it looks correct to me
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.