-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net: Process Framework: Simplify Event Emission in Process Steps #9560
.Net: Process Framework: Simplify Event Emission in Process Steps #9560
Conversation
…e developer cognitive load, updated some tests to verify on build. If decided to update the signature completely (replace it) I can update all the examples and tests.
… format fixes/improvements.
…ps://github.com/joslat/semantic-kernel into joslat-simplify-event-emission-from-processstep
Head branch was pushed to by a user without write access
@joslat Not blocking - since this is an additional way of emitting events perhaps some of the steps in the It is more likely for a person trying out Processes for the first time to check out the |
Step01 would be an easy update. |
Hi @esttenorio I was thinking of providing a super-simple example with 3-4 super simple steps like this one here: https://github.com/joslat/semantic-kernel/tree/joslat-process-framework-graph-edges/dotnet/samples/ProcessDemoGraphNodesEdges for example :) |
Motivation and Context
Fixes: #9510
Process Framework: Simplify Event Emission in Process Steps
I would like to propose a simplification of the event emission mechanism within the Process Framework, specifically in process steps. Currently, emitting events involves multiple method calls and boilerplate code, which can make the codebase harder to read and maintain.
Description
I created an overload of EmitEventAsync with simplified signature to reduce developer cognitive load, updated some tests to verify on build.
If decided to update the signature completely (replace it) I can update all the examples and tests.
Contribution Checklist