interface ReadableWritablePair | globals module | Bun
BuildDocsReferenceGuidesBlogDiscord/
Globals/
ReadableWritablePairPreadablePwritableSearch the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
Globals/
ReadableWritablePairPreadablePwritableinterface
ReadableWritablePairinterface
ReadableWritablePairR = any, W = any>
readable:
ReadableStreamR>
writable:
WritableStreamW>
Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →