LookupFunction - Node documentation
type alias LookupFunction

Usage

import { type LookupFunction } from "node:net";

Definition

(hostname: string, options: dns.LookupOptions, callback: (err: ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void) => void