pipeTo
suspend fun <R : ERROR CLASS: Symbol not found for JsAny??> ReadableStream<R>.pipeTo(destination: WritableStream<R>)(source)
suspend fun <R : ERROR CLASS: Symbol not found for JsAny??> ReadableStream<R>.pipeTo(destination: WritableStream<R>, options: StreamPipeOptions)(source)
The pipeTo() method of the ReadableStream interface pipes the current ReadableStream to a given WritableStream and returns a Promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.