using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Client.Domain.Events { public interface EventBusInterface { void Subscrbe(EventHandlerInterface handler) where T : EventInterface; void Unsubscrbe(EventHandlerInterface handler) where T : EventInterface; void Publish(T @event) where T : EventInterface; } }