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

StatWatcher.ref method | Node.js fs module | Bun

StatWatcher.ref method | Node.js fs module | BunBuildDocsReferenceGuidesBlogDiscord/node:fs/StatWatcher/refMref

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:fs/StatWatcher/refMref

method

fs.StatWatcher.refref(): this;

When called, requests that the Node.js event loop not exit so long as the fs.StatWatcher is active. Calling watcher.ref() multiple times will have no effect.

By default, all fs.StatWatcher objects are "ref'ed", making it normally unnecessary to call watcher.ref() unless watcher.unref() had been called previously.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

StatWatcher.ref method | Node.js fs module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for method node:fs.StatWatcher.ref | Bun