LookupFunction - Node documentation
type alias LookupFunction

Usage in Deno

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

Definition

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