Type Aliases
BooleanResponse
BooleanResponse: 1 | 0
Callback
Callback<T>: ((err: Error | null, res: T) => void)
Type Parameters
Type declaration
- (err: Error | null, res: T): void
KeyType
ValueType
Command
ClusterNode
NodeRole
NodeRole: "master" | "slave" | "all"
CallbackFunction
Type Parameters
Ok
Ok: "OK"
PreferredSlaves
SecureVersion
SecureVersion: "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1"
DNSLookupFunction
DNSLookup
Function
: ((hostname
: string, callback
: ((err
: <internal>.ErrnoException | null, address
: string, family
?: number) => void)) => void)Type declaration
Parameters
hostname: string
callback: ((err: <internal>.ErrnoException | null, address: string, family?: number) => void)
Parameters
address: string
Optional family: number
Returns void
Returns void