MarimerLLC / csla

A home for your business logic in any .NET application.
https://cslanet.com
MIT License
1.23k stars 394 forks source link

Make WaitForIdle() methods virtual so a user can extend it's functionality #3979

Closed StefanOssendorf closed 1 month ago

StefanOssendorf commented 1 month ago

@rockfordlhotka During the changes I've become unhappy with the currenty WaitForIdle() structure, because a user would now have to override two methods to get consistent behavior. The methods with TimeSpan and CancellationToken because the first throws a TimeoutException and the latter a TaskCanceledException. I understand why both implementation use different exceptions but from a user perspective it's awkward to override two methods to have consistent behavior. Any ideas?