MCPcopy 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

33const watchers = new Set();
34
35function registerWatcher(watcher) {
36 watchers.add(watcher);
37}
38
39function unregisterWatcher(watcher) {
40 watcher.close();

Callers 1

Calls 1

addMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…