Починил IMqService
This commit is contained in:
@@ -3,13 +3,11 @@ using PARR.BLL.Domain.Mq;
|
||||
|
||||
namespace PARR.BLL.Services.Interfaces
|
||||
{
|
||||
public delegate void ReceivedHandler(string msg);
|
||||
public delegate Task MqMessageHandlerDelegate(string msg);
|
||||
|
||||
public interface IMqService : IDisposable
|
||||
{
|
||||
event ReceivedHandler? Received;
|
||||
|
||||
bool InitConsumer(IMqSettings mqSettings);
|
||||
bool InitConsumer(IMqSettings mqSettings, MqMessageHandlerDelegate test);
|
||||
MqSendResult Send(IMqSettings mqSettings, string[] msgList);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user