Skip to main content

DuplexOptions

interface default.DuplexOptions

Properties Jump to heading

optional
Jump to headingallowHalfOpen: boolean | undefined
optional
Jump to headingreadableObjectMode: boolean | undefined
optional
Jump to headingwritableObjectMode: boolean | undefined
optional
Jump to headingreadableHighWaterMark: number | undefined
optional
Jump to headingwritableHighWaterMark: number | undefined
optional
Jump to headingwritableCorked: number | undefined
optional
Jump to headingconstruct(
this: Duplex,
callback: (error?: Error | null) => void,
): void
optional
Jump to headingread(
this: Duplex,
size: number,
): void
optional
Jump to headingwrite(
this: Duplex,
chunk: any,
encoding: BufferEncoding,
callback: (error?: Error | null) => void,
): void
optional
Jump to headingwritev(
this: Duplex,
chunks: Array<{ chunk: any; encoding: BufferEncoding; }>,
callback: (error?: Error | null) => void,
): void
optional
Jump to headingfinal(
this: Duplex,
callback: (error?: Error | null) => void,
): void
optional
Jump to headingdestroy(
this: Duplex,
error: Error | null,
callback: (error?: Error | null) => void,
): void
Back to top