@studiokeywi/banjo - v0.0.1
    Preparing search index...

    Module hof

    General purpose higher-order functions such as debounce and throttle

    studioKeywi

    Functions

    debounce

    Debounces repeated requests for a function call and its actual one-time execution. While debouncing, a function can only execute once, either before or after a given period of time. Once the debounce period ends, another function execution can occur.

    throttle

    Throttle repeated attempts at execution by caching return values from the function. When under the throttle duration, the last cached value is returned. Once the throttle duration ends, the original function is executed and its return value cached again