Function defineThrottleFn

  • defineThrottleFn is a function that creates a throttled function.

    Parameters

    • fn: Fn
    • delay: number = 500

    Returns CacheResultFunc

    • The throttled function.