IExclusivityMode Interface
Represents an exclusivity mode.
public interface IExclusivityMode
- Namespace
- Spectre
.Console
Methods
-
abstract T Run
<T> (Func <T> ) - Runs the specified function in exclusive mode.
-
abstract Task<T> RunAsync
<T> (Func <Task <T> > ) - Runs the specified function in exclusive mode asynchronously.