iya-sts
    Preparing search index...
    countInWindow: (opts: any) => Promise<WindowResult> = countInWindow

    Type Declaration

      • (opts: any): Promise<WindowResult>
      • Counts one attempt in a fixed window shared by every node. opts holds scope, key, windowMs and realm ('' by default). Resolves { ok: true, count, remainingMs }, where count includes this attempt, or { ok: false, reason: 'store' | 'unshared', why }; it never rejects.

        Parameters

        • opts: any

        Returns Promise<WindowResult>