Method GetIsBackgroundExecutionCompletedAsync
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
GetIsBackgroundExecutionCompletedAsync(IRunner, CancellationToken)
public static ValueTask<bool> GetIsBackgroundExecutionCompletedAsync(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<bool>
A ValueTask<TResult> wrapping a value of the IsBackgroundExecutionCompleted property (possibly from a remote host)