12 lines
399 B
C#
12 lines
399 B
C#
// 摘自 MediatR 14.2.0,许可声明与修改记录见 LICENSE.md 和 UPSTREAM.md。
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using System.Threading;
|
|
|
|
namespace MAX.Notification;
|
|
|
|
public interface INotificationPublisher
|
|
{
|
|
Task Publish(IEnumerable<NotificationHandlerExecutor> handlerExecutors, INotification notification,
|
|
CancellationToken cancellationToken);
|
|
} |