Replies: 1 comment 3 replies
-
Hi, yes there is a better way we recommend. We recommend you use the Semantic Kernel Process Framework for this scenario: https://learn.microsoft.com/en-us/semantic-kernel/frameworks/process/process-framework |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the best way of handling the results of parallel steps in a process (or even nested processes)?
I've added an AggregatingStep that handles multiple events and sets the results on its internal state.
Each handler then checks of all states have been and then emits an event with all the results combined for the next step in the process.
This feels clunky.
Is there a better way?
Example code of an aggeration step
Beta Was this translation helpful? Give feedback.
All reactions