Function debounceEarly

  • Generate leading-edge debounced version of a function.

    Parameters

    • x: Function

      a function

    • t: number

      delay time (ms)

    • T: number = -1

      max delay time [-1 ⇒ none]

    Returns Function

    (...args) => invocation control

Generated using TypeDoc