Icicle Icicle

Method AsValueTask

Namespace
Icicle
Assembly
Icicle.dll

AsValueTask(RunToken)

Casts the ResultHandle as a ValueTask

public ValueTask AsValueTask(RunToken token)

Parameters

token RunToken

returned proof from a call to Run(RunOptions?, CancellationToken)

Returns

ValueTask

Exceptions

InvalidRunTokenException

if provided token is not from the same TaskScope that created this ResultHandle

Edit this page
Created By Ben Mazzarol