Build
Docs
Reference
Guides
Blog
Discord
/
node:stream/web
/
ReadableStream
/
pipeTo
M
pipeTo
Search the reference...
/
Build
Docs
Reference
Guides
Blog
Discord
/
node:stream/web
/
ReadableStream
/
pipeTo
M
pipeTo
method
stream.web.ReadableStream.pipeTo
pipeTo
(
destination
:
WritableStream
<
R
>
,
options
?
:
StreamPipeOptions
)
:
Promise
<
void
>
;
Referenced types
interface
WritableStream
<
W
=
any
>
readonly
locked
:
boolean
abort
(
reason
?
:
any
)
:
Promise
<
void
>
;
close
()
:
Promise
<
void
>
;
getWriter
()
:
WritableStreamDefaultWriter
<
W
>
;
interface
StreamPipeOptions
preventAbort
?
:
boolean
preventCancel
?
:
boolean
preventClose
?
:
boolean
signal
?
:
AbortSignal