Table of Contents

Class ResultHandle

Namespace
Icicle
Assembly
Icicle.dll

Represents a handle to an action after a Run(RunOptions?, CancellationToken) from a delegate added via Add(Func<CancellationToken, ValueTask>)

public sealed class ResultHandle : BaseHandle
Inheritance
ResultHandle
Inherited Members

Methods

AsValueTask(RunToken)

Casts the ResultHandle as a ValueTask

GetState(RunToken)

Returns the current state of the ResultHandle

ThrowIfFaulted(RunToken)

If the ResultHandle has a status of Faulted it throws the Exception