Enum ResultHandleState

Namespace
Icicle
Assembly
Icicle.dll

States a ResultHandle<T> and ResultHandle can be in

public enum ResultHandleState

Fields

Faulted = 1

The operation completed with an error

Succeeded = 0

The operation completed successfully

Terminated = 2

The operation completed due to cancellation/forced termination

If a ResultHandle<T> or ResultHandle are not run and the Run(RunOptions?, CancellationToken) is cancelled before they are attempted, they will also have this value; indicating that the TaskScope will never run them.