ReadableWritablePair

external interface ReadableWritablePair<R, W>(source)

Properties

Link copied to clipboard
abstract val readable: ReadableStream<R>
Link copied to clipboard
abstract val writable: WritableStream<W>

Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.