Method GetState
- Namespace
- Icicle
- Assembly
- Icicle.dll
GetState(RunToken)
Returns the current state of the ResultHandle<T>
public ResultHandleState GetState(RunToken token)
Parameters
token
RunTokenreturned proof from a call to Run(RunOptions?, CancellationToken)
Returns
- ResultHandleState
current state
Exceptions
- InvalidRunTokenException
if provided token is not from the same TaskScope that created this ResultHandle<T>