Type alias LookupFunction
Lookup
Function: ((hostname: string, options: LookupOneOptions, callback: ((err: ErrnoException | null, address: string, family: number) => void)) => void)
Type declaration
-
- (hostname: string, options: LookupOneOptions, callback: ((err: ErrnoException | null, address: string, family: number) => void)): void
-
Parameters
-
hostname: string
-
-
callback: ((err: ErrnoException | null, address: string, family: number) => void)
-
- (err: ErrnoException | null, address: string, family: number): void
-
Parameters
-
-
address: string
-
family: number
Returns void
Returns void