Files
git.stella-ops.org/src/Scanner/StellaOps.Scanner.WebService/Services/IPlatformEventPublisher.cs
2025-10-28 15:10:40 +02:00

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);
}