Function debounce

  • Generate debounced version of a function. 📘

    Parameters

    • x: Function

      a function

    • t: number

      delay time (ms)

    • Optional T: number

      max delay time [-1 ⇒ none]

    Returns Function

    (...args) => invocation control

Generated using TypeDoc