17 lines
496 B
C#
17 lines
496 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using StellaOps.Scanner.WebService.Contracts;
|
|
|
|
namespace StellaOps.Scanner.WebService.Services;
|
|
|
|
/// <summary>
|
|
/// Publishes orchestrator events to the internal bus consumed by downstream services.
|
|
/// </summary>
|
|
internal interface IPlatformEventPublisher
|
|
{
|
|
/// <summary>
|
|
/// Publishes the supplied event envelope.
|
|
/// </summary>
|
|
Task PublishAsync(OrchestratorEvent @event, CancellationToken cancellationToken = default);
|
|
}
|