StartAsync<T>(Func<ProgressContext, Task<T>>) Method
Starts the progress task list and returns a result.
public Task<T> StartAsync<T>(Func<ProgressContext, Task<T>> action)
- Namespace
- Spectre
.Console - Containing Type
- Progress
Parameters
-
T
- The result type of task.
Parameters
-
Func
<ProgressContext, Task <T> > action - The action to execute.
Returns
-
Task
<T>