Skip to main content

CommonThrottle

Callable

  • CommonThrottle(func: Function): Function

  • Creates a throttling wrapper for the provided function with the provided wait time. If the wrapped function has been successfully called within the wait time, further call attempts will be delayed until the wait time has passed.


    Parameters

    • func: Function

      The function to throttle

    Returns Function

    • A throttled version of the provided function