WaitAsync(CancellationToken)
public ConfiguredScheduledTaskAwaitable<TResult> WaitAsync(CancellationToken cancellationToken = default(CancellationToken))Waits for the task's successful result.
Parameters
cancellationTokenCancellationToken- A token which abandons the wait. It doesn't cancel the task.
Returns
An awaitable which returns the result, or throws the task's failure or cancellation.
