Skip to content

Saga nesting - Or is there a down-side to call a saga? #2240

Answered by Andarist
Domiii asked this question in Q&A
Discussion options

You must be logged in to vote

But they don't really explain whether calling a saga is a valid approach.

It all depends on what kind of concurrency pattern are you trying to express. If you want to wait before executing a new saga in the sequence before starting a new one then yes - calling them one after another is the appropriate thing to do. If you keep them in some kind of a dynamic object~ then looping through them (with a call inside a loop) is probably the best what you can do.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Domiii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants