Cotal TypeScript packages
    Preparing search index...

    Function waitManagedTerminalExit

    • Await Orca's provider-native terminal exit condition, following one or more handle rotations by stable ptyId. The native wait is bounded so it cannot outlive the manager's preservation cut.

      Parameters

      • terminal: Pick<OrcaTerminal, "handle" | "ptyId">
      • timeoutMs: number = EXIT_WAIT_MS

      Returns Promise<void>