Function debounce

  • Returns curried function. Calling curry will delay execution of funtion until delay time (ms). While delay is in progress, extra function calls will be dropped, but after delay, latest attempted function will be called.


    • func: Function

      Function to delay

    • delay: number

      Delay in milliseconds

    Returns Function

Generated using TypeDoc