basalt / auth/src / ThrottleWindow
Interface: ThrottleWindow
Defined in: auth/src/throttle.ts:16
A throttle counter's state within its current window.
Properties
count
> count: number
Defined in: auth/src/throttle.ts:18
Attempts counted in the current window.
retryAfterMs
> retryAfterMs: number
Defined in: auth/src/throttle.ts:20
Milliseconds until the window closes and the counter starts over.