-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Main interface ICommandHandler is renamed to IRequestHandler (to support commands and events...) and does no longer returns a result (but Task obviously).
public interface IRequestHandler<T>
{
Task HandleAsync( T request, ICommandContext context );
}This enforces to treat impacts of a command like pure events.
What are your thoughts about that?
Is it really what we want?
Should CRS still offers a way to return "synchronous" results of a command or should we left this usage for simple REST-like interactions ?