datadog-ux-utils Documentation - v1.0.0
    Preparing search index...

    Type Alias UseGuardedCallOptions

    type UseGuardedCallOptions = {
        onBlocked?: (
            info: {
                key: string;
                until: number;
                windowMs: number;
                maxRequests: number;
            },
        ) => void;
        retryAfter?: "wait"
        | "none";
    }
    Index

    Properties

    onBlocked?: (
        info: {
            key: string;
            until: number;
            windowMs: number;
            maxRequests: number;
        },
    ) => void
    retryAfter?: "wait" | "none"