Function throttle

  • Returns curried function. Calling curry will execute first function immediately. But subsequent calls will be dropped if not enough time has passed.

    Parameters

    • func: Function

      Function to throttle

    • delay: number

      Throttle for number of milliseconds

    Returns Function

Generated using TypeDoc