Libraries
    Preparing search index...
    • A throttle function ensures that a function is not called more frequently than a specified interval. It allows the function to be called at most once every specified delay.

      Type Parameters

      • T extends (...args: any[]) => void

      Parameters

      • func: T

        The function to throttle.

      • limit: number

        The minimum delay between function calls.

      Returns (...args: Parameters<T>) => void