Table of Contents

Method OnRun

Namespace
Icicle
Assembly
Icicle.dll

OnRun(IEnumerable<ValueTask>, RunOptions, CancellationToken)

Called when a Run(RunOptions?, CancellationToken) is requested on the TaskScope

protected override ValueTask OnRun(IEnumerable<ValueTask> tasks, TaskScope.RunOptions options, CancellationToken token)

Parameters

tasks IEnumerable<ValueTask>

lazy ValueTasks to execute

options TaskScope.RunOptions

run options currently applied

token CancellationToken

cancellation token

Returns

ValueTask

ValueTask which completes when all ValueTask are complete