RunExclusive<T>(IAnsiConsole, Func<Task<T>>) Method
Runs the specified function in exclusive mode asynchronously.
public static Task<T> RunExclusive<T>(this IAnsiConsole console, Func<Task<T>> func)
- Namespace
- Spectre
.Console - Containing Type
- Ansi
Console Extensions
Parameters
-
T
- The result type.
Parameters
- IAnsiConsole console
- The console.
-
Func
<Task <T> > func - The func to run in exclusive mode.
Returns
-
Task
<T>