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