1
0
mirror of synced 2024-07-03 09:00:36 +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);
}
}
}