MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / updateUlDebounce

Function updateUlDebounce

src/components/inputhints/index.js:297–300  ·  view source on GitHub ↗

* Update the hint list after a delay * @param {Array } hints

(hints)

Source from the content-addressed store, hash-verified

295 * @param {Array<HintObj>} hints
296 */
297 function updateUlDebounce(hints) {
298 clearTimeout(updateUlTimeout);
299 updateUlTimeout = setTimeout(updateUlNow, 300, hints);
300 }
301
302 /**
303 * Update the hint list instantly

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected