TimeWarpEngineering / timewarp-state

A Blazor State management library by TimeWarp.
The Unlicense
562 stars 56 forks source link

Why is an IAction an IRequest instead of being an INotification? #498

Open aboudoux opened 1 week ago

aboudoux commented 1 week ago

Hello, I am currently in a situation where I would like an Action to be handled by multiple handlers to update different states. However, I have discovered that MediatR prevents registering multiple handlers for the same IRequest.

For this to work, it would need to be an INotification. Is there a specific reason why Actions are IRequest instead of INotification?