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

Function later

src/utils/helpers.js:365–368  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363 let timeout;
364 return function debounced(...args) {
365 const later = () => {
366 clearTimeout(timeout);
367 func.apply(this, args);
368 };
369 clearTimeout(timeout);
370 timeout = setTimeout(later, wait);
371 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected