update/plugins/org.eclipse.wildwebdeveloper_0.5.8.202005190736/node_modules/@angular/language-server/index.js
/**
	     * Retrieve Angular diagnostics for the specified `openFiles` after a specific
	     * `delay`, or renew the request if there's already a pending one.
	     * @param openFiles
	     * @param delay time to wait before sending request (milliseconds)
	     */
Retrieve Angular diagnostics for the specified `openFiles` after a specific
`delay`, or renew the request if there's already a pending one.
@param openFiles
@param delay time to wait before sending request (milliseconds)
Retrieve Angular diagnostics for the specified ` openFiles ` after a specific ` delay ` or renew the request if there ' s already a pending one . @param openFiles @param delay time to wait before sending request ( milliseconds )
triggerDiagnostics(openFiles, delay = 200) {
	        if (this.diagnosticsTimeout) {
	            clearTimeout(this.diagnosticsTimeout);
	        }
	        this.diagnosticsTimeout = setTimeout(() => {
	            this.diagnosticsTimeout = null; 
	            this.sendPendingDiagnostics(openFiles);
	        }, delay);
	    }
triggerDiagnostics ( openFiles , delay = 200 ) { if ( this . diagnosticsTimeout ) { clearTimeout ( this . diagnosticsTimeout ) ; } this . diagnosticsTimeout = setTimeout ( ( ) => { this . diagnosticsTimeout = null ; this . sendPendingDiagnostics ( openFiles ) ; } , delay ) ; }
Retrieve Angular diagnostics for the specified `openFiles` after a specific
 `delay`, or renew the request if there's already a pending one.
Retrieve Angular diagnostics for the specified ` openFiles ` after a specific ` delay ` or renew the request if there ' s already a pending one .
// Do not immediately send a diagnostics request. Send only after user has // stopped typing after the specified delay. // If there's an existing timeout, cancel it // Set a new timeout // clear the timeout // Default delay is 200ms, consistent with TypeScript. See // https://github.com/microsoft/vscode/blob/7b944a16f52843b44cede123dd43ae36c0405dfd/extensions/typescript-language-features/src/features/bufferSyncSupport.ts#L493)