method internal.Duplex.fromWeb
Unstable
Usage in Deno
```typescript import { internal } from "node:node__stream.d.ts"; ```
Duplex.fromWeb(duplexStream: { readable: streamWeb.ReadableStream; writable: streamWeb.WritableStream; },options?: Pick<DuplexOptions, "allowHalfOpen"
| "decodeStrings"
| "encoding"
| "highWaterMark"
| "objectMode"
| "signal">,): Duplex
A utility method for creating a `Duplex` from a web `ReadableStream` and `WritableStream`.
optional
options: Pick<DuplexOptions, "allowHalfOpen"
| "decodeStrings"
| "encoding"
| "highWaterMark"
| "objectMode"
| "signal">