StreamPipeOptions

external interface StreamPipeOptions : Abortable(source)

Properties

Link copied to clipboard
abstract var preventAbort: Boolean?
Link copied to clipboard
abstract var preventCancel: Boolean?
Link copied to clipboard
abstract var 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 var signal: AbortSignal?

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