Added subscription to Mediator to allow later subscriptions
This commit is contained in:
@@ -11,4 +11,6 @@ public interface IMediator
|
||||
ValueTask<TResponse> Send<TResponse>(IQuery<TResponse> query, CancellationToken cancellationToken = default);
|
||||
|
||||
ValueTask<object?> Send(object message, CancellationToken cancellationToken = default);
|
||||
|
||||
void Subscribe(object subscriber);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user