Interface IEventPublisher
Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll
Accepts integration events for the active eventing runtime.
public interface IEventPublisherMethods
Section titled “Methods”PublishAsync(EventPublication, CancellationToken)
Section titled “ PublishAsync(EventPublication, CancellationToken)”Publishes one integration event through the active eventing runtime.
ValueTask PublishAsync(EventPublication publication, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”publication EventPublication
The publication request to handle.
cancellationToken CancellationToken
The token that cancels the operation.
Returns
Section titled “Returns”A task that completes when the publication has been accepted by the runtime.