Skip to main content
default.Writable.fromWeb - stream - Node documentation
method default.Writable.fromWeb
Unstable

Usage in Deno

import mod from "node:stream";
Writable.fromWeb(
writableStream: streamWeb.WritableStream,
options?: Pick<WritableOptions,
"decodeStrings"
| "highWaterMark"
| "objectMode"
| "signal"
>
,
): Writable

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

Parameters

writableStream: streamWeb.WritableStream
optional
options: Pick<WritableOptions,
"decodeStrings"
| "highWaterMark"
| "objectMode"
| "signal"
>

Return Type

Back to top