1
0
mirror of synced 2024-07-04 17:30:36 +00:00
Tapeti/Connection/TapetiPublisher.cs

22 lines
388 B
C#
Raw Normal View History

2016-11-17 16:33:27 +00:00
using System.Threading.Tasks;
namespace Tapeti.Connection
{
public class TapetiPublisher : IPublisher
{
private readonly TapetiWorker worker;
public TapetiPublisher(TapetiWorker worker)
{
this.worker = worker;
}
2016-11-17 16:33:27 +00:00
public Task Publish(object message)
{
return worker.Publish(message);
}
}
}