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

Usage in Deno

import { internal } 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