StreamPipeOptions

external interface StreamPipeOptions : Abortable(source)

Properties

Link copied to clipboard
abstract val preventAbort: Boolean?
Link copied to clipboard
abstract val preventCancel: Boolean?
Link copied to clipboard
abstract val preventClose: Boolean?

Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.

Link copied to clipboard
abstract override val signal: AbortSignal?

When provided the corresponding AbortController can be used to cancel an asynchronous action.