StartAsync<T>(Func<LiveDisplayContext, Task<T>>) Method
Starts the live display.
public Task<T> StartAsync<T>(Func<LiveDisplayContext, Task<T>> func)
- Namespace
- Spectre
.Console - Containing Type
- LiveDisplay
Parameters
-
T
- The result type.
Parameters
-
Func
<LiveDisplayContext, Task <T> > func - The action to execute.
Returns
-
Task
<T>