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

    Function 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.

      Type Parameters

      Parameters

      • fn: Fn
      • period: Chrono
      • Optionalcfg: { onFall?: boolean; onRise?: boolean } = ...

      Returns (...args: Parameters<Fn>) => void