MCPcopy Create free account
hub / github.com/DialmasterOrg/Youtarr / stopWatchingConfig

Method stopWatchingConfig

server/modules/configModule.js:446–454  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

444 }
445
446 stopWatchingConfig() {
447 if (this.debounceTimer) {
448 clearTimeout(this.debounceTimer);
449 this.debounceTimer = null;
450 }
451 if (this.configWatcher) {
452 this.configWatcher.close();
453 }
454 }
455
456 onConfigChange(callback) {
457 this.on('change', callback);

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected