Files
InServiceQue/InServiceQue.Sample/SendMessageHandler.cs
2024-03-10 00:43:57 +07:00

17 lines
368 B
C#

using InServiceQue.Services;
namespace InServiceQue.Sample;
public class SendMessageHandler: IQueueHandler<SendMessageTask>
{
public bool Handle(string payload)
{
throw new NotImplementedException();
}
public Task<bool> HandleAsync(string payload)
{
Console.WriteLine(payload);
return Task.FromResult<bool>(true);
}
}