Every line of 'document on change' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
44 public emitChange(): void { 45 this._change.send(null); 46 }
56 onChange(handler) { 57 this.on(REPOSITORY_CHANGE, handler); 58 }