Skip to main content
LookupFunction - net - 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
Back to top