Theia API Documentation v1.73.0
    Preparing search index...
    • Allocates the capped number of visible items between the Active and Restored sections of the overview. When both sections are non-empty, up to RESTORED_MIN_RESERVATION slots are reserved for Restored so active sessions cannot crowd it out entirely. A cap of 0 hides the inline list (every session stays reachable via the "Browse all chats..." link).

      Parameters

      • activeTotal: number
      • restoredTotal: number
      • maxSessions: number

      Returns VisibleSessionSlots