15 lines
391 B
C#
15 lines
391 B
C#
using Elsa.Mediator.Contexts;
|
|
|
|
namespace Elsa.Mediator.Contracts;
|
|
|
|
/// <summary>
|
|
/// Represents a strategy for publishing events.
|
|
/// </summary>
|
|
public interface IEventPublishingStrategy
|
|
{
|
|
/// <summary>
|
|
/// Publishes an event.
|
|
/// </summary>
|
|
/// <param name="context">The context for publishing the event.</param>
|
|
Task PublishAsync(NotificationStrategyContext context);
|
|
} |