This method allows mapping over the stream. The fn function will be called for every chunk in the stream. If the fn function returns a promise - that promise will be awaited before being passed to the result stream.
Inflate.map method | Node.js zlib module | Bun BuildDocsReferenceGuidesBlogDiscord/node:zlib/Inflate/mapMmap BuildDocsReferenceGuidesBlogDiscord /node:zlib/Inflate/mapMmap zlib.Inflate.mapmap(fn: (data: any, options?: Abortable) => any,options?: ReadableOperatorOptions): Readable; @param fn @returns
Search the reference...
/
method
a function to map over every chunk in the stream. Async or not.
a stream mapped with the function fn.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Inflate.map method | Node.js zlib module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:zlib.Inflate.map | Bun