Constructor AsyncStrategyResult
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
publishboolTrue 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.
nextIReadOnlyList<AsyncMapBase.AsyncToStart<TInput>>Tracked items to start now, or to promote now. Give None for no items.
Exceptions
- ArgumentNullException
nextis null.