Skip to content

Does WaitForIdle take chained Async rules into account? #4230

Discussion options

You must be logged in to vote

Thanks for the insight. It doesn't look like context currently has an async method to execute a chained rule, though, so I can't run my inner rules with an await. If that is the reason, then maybe we need to add an ExecuteRuleAsync method to the context?

We execute an inner async rule this way:
await _innerRule.ExecuteAsync(context.GetChainedContext(_innerRule));
And _innerRule is of type IBusinessRuleAsync.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mtavares628
Comment options

mtavares628 Sep 25, 2024
Collaborator Author

@mtavares628
Comment options

mtavares628 Sep 25, 2024
Collaborator Author

@ossendorf-at-hoelscher
Comment options

@ossendorf-at-hoelscher
Comment options

Answer selected by mtavares628
@mtavares628
Comment options

mtavares628 Sep 26, 2024
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants