Table of Contents

Class AsyncSaga<TState>.Builder.WhenBuilder<TMessage>

Namespace
PatternKit.Messaging.Sagas
Assembly
PatternKit.Core.dll

Fluent async step continuation.

public sealed class AsyncSaga<TState>.Builder.WhenBuilder<TMessage>

Type Parameters

TMessage
Inheritance
AsyncSaga<TState>.Builder.WhenBuilder<TMessage>
Inherited Members

Methods

Then(StepHandler<TMessage>)

Adds the async state transition handler for this message type.

public AsyncSaga<TState>.Builder Then(AsyncSaga<TState>.StepHandler<TMessage> handler)

Parameters

handler AsyncSaga<TState>.StepHandler<TMessage>

Returns

AsyncSaga<TState>.Builder