Skip to main content

on

method WriteStream.prototype.on
Jump to headingWriteStream.prototype.on(
event: "close",
listener: () => void,
): this

Parameters Jump to heading

Jump to headingevent: "close"
Jump to headinglistener: () => void

Return Type Jump to heading

this
Jump to headingWriteStream.prototype.on(
event: "drain",
listener: () => void,
): this

Parameters Jump to heading

Jump to headingevent: "drain"
Jump to headinglistener: () => void

Return Type Jump to heading

this
Jump to headingWriteStream.prototype.on(
event: "error",
listener: (err: Error) => void,
): this

Parameters Jump to heading

Jump to headingevent: "error"
Jump to headinglistener: (err: Error) => void

Return Type Jump to heading

this
Jump to headingWriteStream.prototype.on(
event: "finish",
listener: () => void,
): this

Parameters Jump to heading

Jump to headingevent: "finish"
Jump to headinglistener: () => void

Return Type Jump to heading

this
Jump to headingWriteStream.prototype.on(
event: "open",
listener: (fd: number) => void,
): this

Parameters Jump to heading

Jump to headingevent: "open"
Jump to headinglistener: (fd: number) => void

Return Type Jump to heading

this
Jump to headingWriteStream.prototype.on(
event: "pipe",
listener: (src: stream.Readable) => void,
): this

Parameters Jump to heading

Jump to headingevent: "pipe"
Jump to headinglistener: (src: stream.Readable) => void

Return Type Jump to heading

this
Jump to headingWriteStream.prototype.on(
event: "ready",
listener: () => void,
): this

Parameters Jump to heading

Jump to headingevent: "ready"
Jump to headinglistener: () => void

Return Type Jump to heading

this
Jump to headingWriteStream.prototype.on(
event: "unpipe",
listener: (src: stream.Readable) => void,
): this

Parameters Jump to heading

Jump to headingevent: "unpipe"
Jump to headinglistener: (src: stream.Readable) => void

Return Type Jump to heading

this
Jump to headingWriteStream.prototype.on(
event: string | symbol,
listener: (...args: any[]) => void,
): this

Parameters Jump to heading

Jump to headingevent: string | symbol
Jump to headinglistener: (...args: any[]) => void

Return Type Jump to heading

this
Back to top