using System; using System.Threading.Tasks; namespace NadekoBot.Core.Common { public interface IPubSub { public Task Pub(in TypedKey key, TData data); public Task Sub(in TypedKey key, Func action); } }