Skip to main content
method default.Duplex.prototype.end
Duplex.prototype.end(cb?: () => void): this
Deprecated

Parameters

optional
cb: () => void

Return Type

this
Duplex.prototype.end(
chunk: any,
cb?: () => void,
): this
Deprecated

Parameters

chunk: any
optional
cb: () => void

Return Type

this
Duplex.prototype.end(
chunk: any,
encoding?: BufferEncoding,
cb?: () => void,
): this
Deprecated

Parameters

chunk: any
optional
encoding: BufferEncoding
optional
cb: () => void

Return Type

this
Back to top