pipeTo

suspend fun pipeTo(destination: WritableStream<R>, options: StreamPipeOptions = definedExternally)(source)

MDN Reference