17 lines
368 B
C#
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);
|
|
}
|
|
} |