using System.Collections.Concurrent; namespace Terminal.Gui.App; /// /// Represents a running session created by . /// Wraps an instance and is stored in . /// public class SessionToken { internal SessionToken (IRunnable runnable) { Runnable = runnable; } /// /// Gets or sets the runnable associated with this session. /// Set to by when the session completes. /// public IRunnable? Runnable { get; internal set; } /// /// The result of the session. Typically set by the runnable in /// public object? Result { get; set; } }