evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
Produce a free local IPC endpoint path suitable for Unix domain sockets or Windows named pipes. When no options are provided, default to a socket file named ipc.sock in the system temporary directory.
/tmp/app.sock, /tmp/app-1.sock, /tmp/app-2.sock). @test\\\\.\\pipe\\service), returns a free named pipe path and increments suffixes on collisions instead of switching to Unix-style paths. @testexport interface SocketOptions {
basePath?: string;
}
export async function findAvailableSocket(options?: SocketOptions): Promise<string>;Finds available IPC endpoints for Unix sockets and Windows named pipes.