Spinner(Task, Spinner, Style, IAnsiConsole) Method
Runs a task with a spinner animation.
public static Task Spinner(this Task task, Spinner spinner = null, Style style = null, IAnsiConsole ansiConsole = null)
- Namespace
- Spectre
.Console .Extensions - Containing Type
- SpinnerExtensions
Parameters
- Task task
- The task to run.
- Spinner spinner
- The spinner to use.
- Style style
- The style to apply to the spinner.
- IAnsiConsole ansiConsole
- The console to write to.
Returns
- Task