Type Aliases
_Command
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
BufferEncoding
BufferEncoding: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex"
TypedArray
ArrayBufferView
LookupFunction
Type declaration
Parameters
hostname: string
callback: ((err: <internal>.ErrnoException | null, address: string, family: number) => void)
Parameters
address: string
family: number
Returns void
Returns void
SocketConnectOpts
SocketReadyState
SocketReadyState: "opening" | "open" | "readOnly" | "writeOnly" | "closed"
SecureVersion
SecureVersion: "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1"
IteratorResult
Type Parameters
Pick
Pick<T, K>: { [ P in K]: T[P] }
Type Parameters
Record
Record<K, T>: { [ P in K]: T }
Type Parameters
Exclude
Exclude<T, U>: T extends U ? never : T
Type Parameters
Omit
Type Parameters
ArrayBufferLike
ArrayBufferLike: ArrayBufferTypes[keyof ArrayBufferTypes]
ReplyCallback
ReplyCallback<T>: ((content: Error | T) => void)
Type Parameters
Type declaration
- (content: Error | T): void
RpcReplyCallback
Type Parameters
Type declaration
Parameters
awkFunc: (() => void) | undefined | Error
Optional err: Error
Returns void
PublishCallback
Type Parameters
From T, pick a set of properties whose keys are in the union K