Delay function execution until the specified time has passed since the last
invocation.
Usage:
import { debounce } from"mazey";
constfoo = debounce(() => { console.log("The debounced function will only be invoked in 1000 milliseconds, the other invoking will disappear during the wait time."); }, 1000, true);
Delay function execution until the specified time has passed since the last invocation.
Usage: