API Reference
Class
RunOptions
Options for ConsoleRun.ForEachAsync and RunMonitor.
Inheritance
- Object
- RunOptions
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 2
- Method ConsoleRun.ForEachAsync``2
- Constructor RunMonitor.RunMonitor
Constructors
public RunOptions() #Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public Int32 ThrottleLimit { get; set; } #How many items run at the same time (default the processor count).
public TimeSpan? Timeout { get; set; } #The time one item may take, or null for no limit; an item past it is cancelled and counts as failed.
public Func<Object?, String>? Label { get; set; } #The label of an item in the view, or null for its title (a name-like property, or its text).
public Boolean? Interactive { get; set; } #Whether to show the live view (true), print a line per item (false) or decide from the terminal (null, default).
public LiveSessionOptions? Session { get; set; } #The live session's options (inline with the final frame kept, by default).
public Action<String>? Print { get; set; } #Where a printed line goes when the view is not live, or null for the current terminal.