Pcleanup
Bun

property

stream.promises.FinishedOptions.cleanup

cleanup?: boolean

If true, removes the listeners registered by this function before the promise is fulfilled.