diff --git a/NewLife.Core/Messaging/IEventBus.cs b/NewLife.Core/Messaging/IEventBus.cs index aef838243..eaacc00af 100644 --- a/NewLife.Core/Messaging/IEventBus.cs +++ b/NewLife.Core/Messaging/IEventBus.cs @@ -68,6 +68,7 @@ public virtual async Task<Int32> PublishAsync(TEvent @event, IEventContext<TEven { var handler = item.Value; await handler.HandleAsync(@event, context).ConfigureAwait(false); + rs++; } return rs;