method default.Duplex.toWeb
unstable
Jump to headingDuplex.toWeb(streamDuplex: Duplex): { readable: streamWeb.ReadableStream; writable: streamWeb.WritableStream; }
A utility method for creating a web ReadableStream
and WritableStream
from a Duplex
.
Parameters Jump to heading
Jump to headingstreamDuplex: Duplex
Return Type Jump to heading
{ readable: streamWeb.ReadableStream; writable: streamWeb.WritableStream; }