When called, the active fs.FSWatcher object will not require the Node.js event loop to remain active. If there is no other activity keeping the event loop running, the process may exit before the fs.FSWatcher object's callback is invoked. Calling watcher.unref() multiple times will have no effect.
FSWatcher.unref method | Node.js fs module | Bun BuildDocsReferenceGuidesBlogDiscord/node:fs/FSWatcher/unrefMunref BuildDocsReferenceGuidesBlogDiscord /node:fs/FSWatcher/unrefMunref fs.FSWatcher.unrefunref(): this;
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 →FSWatcher.unref method | Node.js fs module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:fs.FSWatcher.unref | Bun