Fix EventBase child activity not executing OnEventReceived method (#6687)
* Initial plan for issue * Add OnEventReceivedAsync call in EventBase.EventReceivedAsync Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
This commit is contained in:
parent
239be9bf1c
commit
f041f55624
|
|
@ -36,6 +36,7 @@ public abstract class EventBase<TResult> : Trigger<TResult>
|
|||
{
|
||||
var input = (TResult?)context.GetEventInput();
|
||||
Result.Set(context, input);
|
||||
await OnEventReceivedAsync(context, input);
|
||||
await context.CompleteActivityAsync();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue