implement message subscribing and worker
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace AipsCore.Application.Abstract.MessageBroking;
|
||||
|
||||
public interface IMessageSubscriber
|
||||
{
|
||||
Task SubscribeAsync<T>(
|
||||
Func<T, CancellationToken, Task> handler
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user