PreadableLength
Bun

property

stream.default.PassThrough.readableLength

readonly readableLength: number

This property contains the number of bytes (or objects) in the queue ready to be read. The value provides introspection data regarding the status of the highWaterMark.