using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Core.RabbitMQBus.EventBus { public interface IRabbitMqPublisher { /// /// 发布 /// /// /// void Publish(string queueName, object content); /// /// 异步发布 /// /// /// /// Task PublishAsync(string queueName, object content); } }