ข้ามไปยังเนื้อหา

Interface IEventPublisher

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll

Accepts integration events for the active eventing runtime.

public interface IEventPublisher

PublishAsync(EventPublication, CancellationToken)

Section titled “ PublishAsync(EventPublication, CancellationToken)”

Publishes one integration event through the active eventing runtime.

ValueTask PublishAsync(EventPublication publication, CancellationToken cancellationToken = default)

publication EventPublication

The publication request to handle.

cancellationToken CancellationToken

The token that cancels the operation.

ValueTask

A task that completes when the publication has been accepted by the runtime.