Pdestroy
Bun

property

stream.default.StreamOptions.destroy

destroy?: (this: T, error: null | Error, callback: (error?: null | Error) => void) => void