implement message subscribing and worker
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using AipsCore.Application.Abstract.Command;
|
||||
using AipsCore.Application.Abstract.MessageBroking;
|
||||
using AipsCore.Application.Abstract.Query;
|
||||
|
||||
namespace AipsCore.Application.Abstract;
|
||||
@@ -9,4 +10,6 @@ public interface IDispatcher
|
||||
Task<TResult> Execute<TResult>(ICommand<TResult> command, CancellationToken cancellationToken = default);
|
||||
|
||||
Task<TResult> Execute<TResult>(IQuery<TResult> query, CancellationToken cancellationToken = default);
|
||||
|
||||
public Task Execute(IMessage message, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user