Reactor dynamic steps usage?

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
What would new_steps be? An example would help me a lot
GitHub
reactor/documentation/explanation/concepts.md at main ยท ash-projec...
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 ๐Ÿ™‚ https://deepwiki.com/search/in-the-docs-it-is-described-st_b46a5a96-c14f-46e2-81b2-2ad48f05f42d...
DeepWiki
Search | DeepWiki
DeepWiki provides up-to-date documentation you can talk to, for every repo in the world. Think Deep Research for GitHub - powered by Devin.
Jump to solution
2 Replies
Solution
ZachDaniel
ZachDanielโ€ข5w ago
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 ๐Ÿ™‚ https://deepwiki.com/search/in-the-docs-it-is-described-st_b46a5a96-c14f-46e2-81b2-2ad48f05f42d
DeepWiki
Search | DeepWiki
DeepWiki provides up-to-date documentation you can talk to, for every repo in the world. Think Deep Research for GitHub - powered by Devin.
Fermuch
FermuchOPโ€ข5w ago
AH! Didn't see Reactor.Builder! Thanks, I think that solves the puzzle for me! : ))) (saved the deepwiki too, it'll come handy in the future)

Did you find this page helpful?