A utility method for creating a web ReadableStream and WritableStream from a Duplex.
PassThrough.toWeb method | Node.js stream module | Bun BuildDocsReferenceGuidesBlogDiscord/node:stream/default/PassThrough/toWebMtoWeb BuildDocsReferenceGuidesBlogDiscord /node:stream/default/PassThrough/toWebMtoWeb stream.default.PassThrough.toWebstatic toWeb(streamDuplex: ReadWriteStream,options?: DuplexToWebOptions): ReadableWritablePair; Referenced typesinterface ReadableWritablePairR = any, W = any>readable: ReadableStreamR>writable: WritableStreamW>
Search the reference...
/
method
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →PassThrough.toWeb method | Node.js stream module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:stream.default.PassThrough.toWeb | Bun