17 lines
294 B
C#
17 lines
294 B
C#
using System.Threading.Tasks;
|
|
using RabbitMQ.Client;
|
|
|
|
namespace Tapeti
|
|
{
|
|
public interface IPublisher
|
|
{
|
|
Task Publish(object message);
|
|
}
|
|
|
|
|
|
public interface IAdvancedPublisher : IPublisher
|
|
{
|
|
Task Publish(object message, IBasicProperties properties);
|
|
}
|
|
}
|