Go to Latest
interface GetAvailablePortOptions
import { type GetAvailablePortOptions } from "https://dotland.deno.dev/std@0.223.0/net/get_available_port.ts";

Options for getAvailablePort.

Properties

optional
preferredPort: number

A port to check availability of first. If the port isn't available, fall back to another port.