Table of Contents

Class WatchdogOptions

Namespace
SharpConsoleUI.Configuration
Assembly
SharpConsoleUI.dll

Configuration for the main-loop watchdog (liveness monitoring, unresponsive notification, recovery).

public record WatchdogOptions : IEquatable<WatchdogOptions>
Inheritance
WatchdogOptions
Implements
Inherited Members
Extension Methods

Constructors

WatchdogOptions(bool, int, int, int, bool, bool)

Configuration for the main-loop watchdog (liveness monitoring, unresponsive notification, recovery).

public WatchdogOptions(bool Enabled = true, int StaleThresholdMs = 2000, int UnresponsiveThresholdMs = 5000, int PollIntervalMs = 500, bool ShowUnresponsiveBanner = true, bool FullRefreshOnRecovery = true)

Parameters

Enabled bool
StaleThresholdMs int
UnresponsiveThresholdMs int
PollIntervalMs int
ShowUnresponsiveBanner bool
FullRefreshOnRecovery bool

Properties

Enabled

public bool Enabled { get; init; }

Property Value

bool

FullRefreshOnRecovery

public bool FullRefreshOnRecovery { get; init; }

Property Value

bool

PollIntervalMs

public int PollIntervalMs { get; init; }

Property Value

int

ShowUnresponsiveBanner

public bool ShowUnresponsiveBanner { get; init; }

Property Value

bool

StaleThresholdMs

public int StaleThresholdMs { get; init; }

Property Value

int

UnresponsiveThresholdMs

public int UnresponsiveThresholdMs { get; init; }

Property Value

int