Logos DX
    Preparing search index...

    Interface ThrottleOptions

    Options for configuring throttle behavior

    interface ThrottleOptions {
        delay: number;
        onThrottle?: (args: unknown[]) => void;
        throws?: boolean;
    }
    Index

    Properties

    delay: number

    Minimum delay in milliseconds between function calls

    onThrottle?: (args: unknown[]) => void

    Optional callback executed when throttling occurs

    throws?: boolean

    Whether to throw an error when throttling occurs (default: false)