• Type Parameters

    • T

    Parameters

    • func: T

      The function to debounce.

    • wait: number

      The wait time in ms.

    Returns T

    The wrapper function.