Class SessionStatusResult
The state of the platform's runtime session. The same result answers both hops of the status request — the language server passes the host's answer through unchanged.
public record SessionStatusResult : IEquatable<SessionStatusResult>
- Inheritance
-
SessionStatusResult
- Implements
- Inherited Members
Properties
IsComposed
Whether a runtime session exists at all. Everything else is meaningless when this is
false — the session is composed during platform bring-up, so a client asking early
(or with no environment host in the platform) sees it unset.
public bool IsComposed { get; init; }
Property Value
Memory
The session memory space's allocation and fragmentation statistics, as the session's own allocator reports them.
public SessionMemoryStatus Memory { get; init; }
Property Value
ModuleCount
The number of modules the session's project declares.
public int ModuleCount { get; init; }
Property Value
ProjectName
The session project's name, or an empty string when the session was composed without one.
public string ProjectName { get; init; }
Property Value
ReferenceCount
The number of library references the session was composed with.
public int ReferenceCount { get; init; }