Table of Contents

Constructor AsyncStrategyResult

Namespace
SodaFlow.Async
Assembly
SodaFlow.Core.Async.dll

AsyncStrategyResult(bool, IReadOnlyList<AsyncToStart<TInput>>)

Builds the answer of a strategy from its two decisions.

public AsyncStrategyResult(bool publish, IReadOnlyList<AsyncMapBase.AsyncToStart<TInput>> next)

Parameters

publish bool

True when the pipeline sends the outcome that ended now to the results or to the errors. False is the same as a cancellation for a caller: the pipeline sends nothing for that item.

next IReadOnlyList<AsyncMapBase.AsyncToStart<TInput>>

Tracked items to start now, or to promote now. Give None for no items.

Exceptions

ArgumentNullException

next is null.