Skip to content

Interface IEventPublicationDispatcher

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Publishes integration events through the active eventing runtime without exposing package-specific implementation types to host adapters.

public interface IEventPublicationDispatcher

PublishAsync(EventPublicationRequest, CancellationToken)

Section titled “ PublishAsync(EventPublicationRequest, CancellationToken)”

Publishes one integration event through the active eventing runtime.

ValueTask<EventPublicationResult> PublishAsync(EventPublicationRequest request, CancellationToken cancellationToken = default)

request EventPublicationRequest

The publication request to dispatch.

cancellationToken CancellationToken

The token that cancels the operation.

ValueTask<EventPublicationResult>

The operator-facing publication result when the active runtime accepts the event.