@halix/action-sdk
    Preparing search index...

    Function debounceFn

    • debounceFn is a utility function that debounces a function call. It is used to prevent multiple calls to the same function within a short period of time.

      Type Parameters

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

      Parameters

      • fn: T

        The function to debounce

      • wait: number = 200

        The number of milliseconds to wait before calling the function

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

      The debounced function