RGex Builder Platform - v1.2.0
    Preparing search index...

    Function debounce

    • Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

      Type Parameters

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

      Parameters

      • func: T

        The function to debounce.

      • wait: number

        The number of milliseconds to delay.

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

      The new debounced function.