If true, removes the listeners registered by this function before the promise is fulfilled.
interface
stream.promises.FinishedOptions
interface FinishedOptions
- signal?: AbortSignal
When provided the corresponding
AbortController
can be used to cancel an asynchronous action.