Table of Contents

Enum MainLoopPhase

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

Identifies which step of the main loop was executing — surfaced in UnresponsiveEventArgs to attribute a stall to input handling, UI-action draining, rendering, or idle wait.

public enum MainLoopPhase
Extension Methods

Fields

Drain = 2

Draining the UI action queue (work marshalled from background threads).

Idle = 4

Idle — waiting for the next wake signal or timeout.

Input = 1

Processing queued input (key/mouse dispatch to controls).

Render = 3

Rendering the display (layout, paint, console output).

Unknown = 0

The executing phase is not known.