Skip to content

Interface ISagaChoreographyPublisher

Namespace: Cephalon.Behaviors.Patterns.Abstractions
Assembly: Cephalon.Behaviors.Patterns.dll

Publishes choreography publications produced by a saga choreography behavior step.

public interface ISagaChoreographyPublisher

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)

publication SagaChoreographyPublication

The publication to stage.

cancellationToken CancellationToken

A token that cancels the publication.

ValueTask

A task that completes when the publication has been accepted.