Skip to content
ConsoleMonster

API Reference

Class

RunOptions

Namespace ConsoleMonster.Live
Assembly ConsoleMonster
Modifiers sealed

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

Constructors

public RunOptions() #

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 String? Title { get; set; } #

A title above the live view (markup), or null.

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.