Left Curve Software Stack
    Preparing search index...

    Function debounce

    • Debounces a function. The function will only be called after it has not been called for a specified amount of time.

      Type Parameters

      • F extends (...args: any[]) => void

      Parameters

      • fn: F

        The function to debounce.

      • delay: number

        The amount of time to wait before calling the debounced function.

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

      A function that, when called, will call the debounced function after the specified delay.