Table of Contents

Class AsyncMapBase.AsyncToStart<TInput>

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

A tracked item to start now, or to promote now from Queued to Running.

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

Type Parameters

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

Constructors

AsyncToStart(AsyncQueuedItem<TInput>, CancellationToken)

Properties

Item

The admitted item to start or to promote. It comes from a previous Admit call.

StrategyToken

An optional second cancellation source to link into this run, with the source of the item. It is not necessary to cancel an item that the strategy controls, because Cancel() does that. Use this to attach a run to an external source: a timeout for one operation, an ambient operation token, or a shared token for a batch of work. At each other time, keep the default.