Cotal TypeScript packages
    Preparing search index...

    Function closeManagedTerminal

    • Close by stable identity. If the handle rotates between resolution and close, refresh by ptyId and retry once instead of treating a stale handle as a successful stop.

      Parameters

      • terminal: Pick<OrcaTerminal, "handle" | "ptyId">
      • opts: { timeoutMs?: number } = {}

      Returns void