method ReadableBase.prototype.onceReadableBase.prototype.once(event: "close",listener: () => void,): thisDeprecatedParametersevent: "close"listener: () => voidReturn TypethisReadableBase.prototype.once(event: "data",listener: (chunk: any) => void,): thisDeprecatedParametersevent: "data"listener: (chunk: any) => voidReturn TypethisReadableBase.prototype.once(event: "end",listener: () => void,): thisDeprecatedParametersevent: "end"listener: () => voidReturn TypethisReadableBase.prototype.once(event: "error",listener: (err: Error) => void,): thisDeprecatedParametersevent: "error"listener: (err: Error) => voidReturn TypethisReadableBase.prototype.once(event: "pause",listener: () => void,): thisDeprecatedParametersevent: "pause"listener: () => voidReturn TypethisReadableBase.prototype.once(event: "readable",listener: () => void,): thisDeprecatedParametersevent: "readable"listener: () => voidReturn TypethisReadableBase.prototype.once(event: "resume",listener: () => void,): thisDeprecatedParametersevent: "resume"listener: () => voidReturn TypethisReadableBase.prototype.once(event: string | symbol,listener: (...args: any[]) => void,): thisDeprecatedParametersevent: string | symbollistener: (...args: any[]) => voidReturn Typethis