Constructors
constructor
- new RpsMeter(size?: number, time?: number): RpsMeter
Parameters
- size: number = 500
- time: number = 5000
Properties
_hits
_hits: Deque<bigint>
Readonly
size
size: number = 500
time
time: bigint
Methods
getRps
- getRps(): number
Returns number
hit
- hit(): void
Returns void