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 IEventPublicationDispatcherMethods
Section titled “Methods”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)Parameters
Section titled “Parameters”request EventPublicationRequest
The publication request to dispatch.
cancellationToken CancellationToken
The token that cancels the operation.
Returns
Section titled “Returns”ValueTask<EventPublicationResult>
The operator-facing publication result when the active runtime accepts the event.