Method GetProgressAsync
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
GetProgressAsync(IRunner, CancellationToken)
public static ValueTask<RunnerBkgProgress> GetProgressAsync(this IRunner Runner, CancellationToken Token = default)
Parameters
Runner
IRunner- An instance of a runner for which the method is called.
Token
CancellationToken- Can be used for cooperative cancellation of the operation initiated by this method (i.e. cancellation of the result task).
Returns
- ValueTask<RunnerBkgProgress>
A ValueTask<TResult> wrapping a result returned by GetProgress() method (possibly from a remote host)