ts-data-forge
    Preparing search index...
    • Creates a debounced function that delays invoking func until after waitMilliseconds have elapsed since the last time the debounced function was invoked.

      Type Parameters

      • Args extends readonly unknown[]

      Parameters

      • func: (...args: Args) => void

        The function to debounce.

      • waitMilliseconds: number

        The number of milliseconds to delay.

      Returns (...args: Args) => void

      The new debounced function.