Files
InServiceQue/InServiceQue.Sample/OtherMessageHandler.cs

17 lines
393 B
C#

using InServiceQue.Services;
namespace InServiceQue.Sample;
public class OtherMessageHandler: IQueueHandler<OtherMessageTask>
{
public bool Handle(string payload)
{
throw new NotImplementedException();
}
public async Task<bool> HandleAsync(string payload)
{
Console.WriteLine($"Pizda {payload}");
return await Task.FromResult<bool>(true);
}
}