2017-02-12 14:18:12 +00:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Tapeti
|
2016-11-16 22:11:05 +00:00
|
|
|
|
{
|
2019-08-13 18:30:04 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Manages subscriptions to queues as configured by the bindings.
|
|
|
|
|
/// </summary>
|
2016-11-16 22:11:05 +00:00
|
|
|
|
public interface ISubscriber
|
|
|
|
|
{
|
2019-08-13 18:30:04 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Starts consuming from the subscribed queues if not already started.
|
|
|
|
|
/// </summary>
|
2017-02-12 14:18:12 +00:00
|
|
|
|
Task Resume();
|
2016-11-16 22:11:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|