Method WhenRefreshedAsync
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
WhenRefreshedAsync(CancellationToken)
Waits for the refreshes this handler started so far to end, whether each succeeded or failed. For tests and for an orderly shutdown; the handler itself never waits for them.
public Task WhenRefreshedAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenStops waiting.
Returns
- Task