Function throttleEarly

  • Generate leading-edge throttled version of a function. 📘

    Parameters

    • x: Function

      a function

    • t: number

      wait time (ms)

    Returns Function

    (...args) => invocation control

Generated using TypeDoc