Table of Contents

Property IsRunning

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

IsRunning

Gets whether this runnable session is currently running (i.e., on the SessionStack).

public bool IsRunning { get; }

Property Value

bool

Remarks

This property returns a cached value that is updated atomically when the runnable is added to or removed from the session stack. The cached state ensures thread-safe access without race conditions.

Returns true if this runnable is currently on the SessionStack, false otherwise.

Runnables are added to the stack during Begin(IRunnable) and removed in End(SessionToken).