using System.Threading; namespace BotSharp.Abstraction.Infrastructures.Events; public interface IEventSubscriber { Task SubscribeAsync(string channel, Func received); Task SubscribeAsync(string channel, string group, bool priorityEnabled, Func received, CancellationToken? stoppingToken = null); }