Pclosed
Bun

property

tty.ReadStream.closed

readonly closed: boolean

Is true after 'close' has been emitted.