1
0
mirror of synced 2024-09-28 19:56:09 +00:00
Tapeti/Connection/TapetiPublisher.cs

22 lines
388 B
C#

using System.Threading.Tasks;
namespace Tapeti.Connection
{
public class TapetiPublisher : IPublisher
{
private readonly TapetiWorker worker;
public TapetiPublisher(TapetiWorker worker)
{
this.worker = worker;
}
public Task Publish(object message)
{
return worker.Publish(message);
}
}
}