Skip to main content

fromWeb

method internal.Writable.fromWeb
unstable
Jump to headingWritable.fromWeb(
writableStream: streamWeb.WritableStream,
options?: Pick<WritableOptions,
"decodeStrings"
| "highWaterMark"
| "objectMode"
| "signal"
>
,
): Writable

A utility method for creating a Writable from a web WritableStream.

Parameters Jump to heading

Jump to headingwritableStream: streamWeb.WritableStream
optional
Jump to headingoptions: Pick<WritableOptions,
"decodeStrings"
| "highWaterMark"
| "objectMode"
| "signal"
>

Return Type Jump to heading

Back to top