namespace Nop.Core.Events; /// /// Represents an event publisher /// public partial interface IEventPublisher { /// /// Publish event to consumers /// /// Type of event /// Event object /// A task that represents the asynchronous operation Task PublishAsync(TEvent @event); /// /// Publish event to consumers /// /// Type of event /// Event object void Publish(TEvent @event); }