温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/zlib/ZstdDecompress/some
点击访问原文链接

ZstdDecompress.some method | Node.js zlib module | Bun

ZstdDecompress.some method | Node.js zlib module | BunBuildDocsReferenceGuidesBlogDiscord/node:zlib/ZstdDecompress/someMsome

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:zlib/ZstdDecompress/someMsome

method

zlib.ZstdDecompress.somesome(fn: (data: any, options?: Abortable) => boolean | Promiseboolean>,options?: PickReadableOperatorOptions, 'signal' | 'concurrency'>): Promiseboolean>;This method is similar to Array.prototype.some and calls fn on each chunk in the stream until the awaited return value is true (or any truthy value). Once an fn call on a chunk awaited return value is truthy, the stream is destroyed and the promise is fulfilled with true. If none of the fn calls on the chunks return a truthy value, the promise is fulfilled with false.

@param fna function to call on each chunk of the stream. Async or not.

@returnsa promise evaluating to true if fn returned a truthy value for at least one of the chunks.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco

We're hiring →

智能索引记录