Setu-TS
    Preparing search index...

    Interface ReserveAttemptResult

    The result of reserving an attempt for lockout purposes.

    interface ReserveAttemptResult {
        allowed: boolean;
        count: number;
    }
    Index
    allowed: boolean

    Whether the attempt is within the limit.

    count: number

    The number of attempts in the current window, including this one.