using System; using System.Threading.Tasks; // ReSharper disable UnusedMember.Global namespace Tapeti { /// /// /// Manages subscriptions to queues as configured by the bindings. /// public interface ISubscriber : IDisposable { /// /// Starts consuming from the subscribed queues if not already started. /// Task Resume(); /// /// Stops consuming from the subscribed queues. /// Task Stop(); } }