Table of Contents

Struct TaskScope.RunOptions

Namespace
Icicle
Assembly
Icicle.dll

Options for configuring Run(RunOptions?, CancellationToken)

public readonly record struct TaskScope.RunOptions : IEquatable<TaskScope.RunOptions>
Implements
Inherited Members

Constructors

RunOptions()

Options for configuring Run(RunOptions?, CancellationToken)

Properties

Bounded

Flag indicates that the addition of tasks via Add<T>(Func<CancellationToken, ValueTask<T>>) and Add(Func<CancellationToken, ValueTask>) is bounded over the life of the call to Run(RunOptions?, CancellationToken). Set this to false if the addition of tasks is unbounded over the life of Run(RunOptions?, CancellationToken).

ContinueOnFault

Flag indicates the Run(RunOptions?, CancellationToken) should not stop on any faults and should keep running child tasks until they are all attempted

ThrowOnFault

Flag indicates the Run(RunOptions?, CancellationToken) should re-throw any faults; if false it will not throw, instead leaving the exception checking to the user via the returned handlers; default is true

Timeout

Optional timeout to apply to the run