Table of Contents

Class AsyncMapBase.AsyncStrategyResult<TInput>

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

The answer of a strategy for one end that can send: if the pipeline publishes that outcome, and which items to start next. A cancellation has no such answer, because it publishes nothing. See OnCanceled(TState, IReadOnlyList<AsyncQueuedItem<TInput>>, IReadOnlyList<AsyncTrackedItem<TInput>>), which gives the items to start and nothing else.

[PublicAPI]
protected sealed class AsyncMapBase.AsyncStrategyResult<TInput>

Type Parameters

TInput
Inheritance
AsyncMapBase.AsyncStrategyResult<TInput>
Inherited Members
Extension Methods

Constructors

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

Builds the answer of a strategy from its two decisions.

Fields

None

An empty Next list. This decision starts no more items.

Properties

Next

Tracked items to start now, or to promote now, because of this decision.

Publish

True when the pipeline sends the outcome that ended now.