Interface ISagaChoreographyPublisher
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Behaviors.Patterns.Abstractions
Assembly: Cephalon.Behaviors.Patterns.dll
Publishes choreography publications produced by a saga choreography behavior step.
public interface ISagaChoreographyPublisherMethods
Section titled “Methods”PublishAsync(SagaChoreographyPublication, CancellationToken)
Section titled “ PublishAsync(SagaChoreographyPublication, CancellationToken)”Publishes one choreography publication through the active choreography handoff path.
ValueTask PublishAsync(SagaChoreographyPublication publication, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”publication SagaChoreographyPublication
The publication to stage.
cancellationToken CancellationToken
A token that cancels the publication.
Returns
Section titled “Returns”A task that completes when the publication has been accepted.