Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ registerWatcher
Function
registerWatcher
test/parallel/test-fs-watch-encoding.js:35–37 ·
view source on GitHub ↗
(watcher)
Source
from the content-addressed store, hash-verified
33
const
watchers =
new
Set();
34
35
function
registerWatcher(watcher) {
36
watchers.add(watcher);
37
}
38
39
function
unregisterWatcher(watcher) {
40
watcher.close();
Callers
1
test-fs-watch-encoding.js
File · 0.85
Calls
1
add
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…