PautoClose
Bun

property

fs.promises.WriterOptions.autoClose

autoClose?: boolean

Close the file handle when the writer ends or fails.