Method Value
- Namespace
- Icicle
- Assembly
- Icicle.dll
Value(RunToken)
Returns the ResultHandle<T> value
public T Value(RunToken token)
Parameters
token
RunTokenreturned proof from a call to Run(RunOptions?, CancellationToken)
Returns
- T
T or throws
Exceptions
- InvalidRunTokenException
if provided token is not from the same TaskScope that created this ResultHandle<T>
- Exception
if the ResultHandle<T> has faulted
- TaskCanceledException
if the ResultHandle<T> was Terminated