Cotal TypeScript packages
    Preparing search index...

    Function terminalState

    • Authoritative liveness for a terminal id: ONLY a successful full pane inventory that no longer contains it proves exit (herdr closes a pane when its command exits). Every failed inventory — including an absent/refused session socket, which may be a transient server restart or a permission problem — throws rather than report a false exit.

      Parameters

      • session: string
      • terminalId: string

      Returns TerminalState