Method AsValueTask
- Namespace
- Icicle
- Assembly
- Icicle.dll
AsValueTask(RunToken)
Casts the ResultHandle as a ValueTask
public ValueTask AsValueTask(RunToken token)
Parameters
token
RunTokenreturned proof from a call to Run(RunOptions?, CancellationToken)
Returns
Exceptions
- InvalidRunTokenException
if provided token is not from the same TaskScope that created this ResultHandle