ShowAsync(IAnsiConsole, CancellationToken) Method
Shows the prompt asynchronously.
Task<T> ShowAsync(IAnsiConsole console, CancellationToken cancellationToken)
- Namespace
- Spectre
.Console
Parameters
- IAnsiConsole console
- The console.
- CancellationToken cancellationToken
- The token to monitor for cancellation requests.
Returns
-
Task
<T>