Skip to main content

once

method ReadStream.prototype.once
Jump to headingReadStream.prototype.once(
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 headingReadStream.prototype.once(
event: "data",
listener: (chunk: Buffer | string) => void,
): this

Parameters Jump to heading

Jump to headingevent: "data"
Jump to headinglistener: (chunk: Buffer | string) => void

Return Type Jump to heading

this
Jump to headingReadStream.prototype.once(
event: "end",
listener: () => void,
): this

Parameters Jump to heading

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

Return Type Jump to heading

this
Jump to headingReadStream.prototype.once(
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 headingReadStream.prototype.once(
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 headingReadStream.prototype.once(
event: "pause",
listener: () => void,
): this

Parameters Jump to heading

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

Return Type Jump to heading

this
Jump to headingReadStream.prototype.once(
event: "readable",
listener: () => void,
): this

Parameters Jump to heading

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

Return Type Jump to heading

this
Jump to headingReadStream.prototype.once(
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 headingReadStream.prototype.once(
event: "resume",
listener: () => void,
): this

Parameters Jump to heading

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

Return Type Jump to heading

this
Jump to headingReadStream.prototype.once(
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