Type Alias: LoopGuardOptions
LoopGuardOptions:
object
Type declaration
cooldownMs?
optionalcooldownMs:number
enabled?
optionalenabled:boolean
onDetect()?
optionalonDetect: (event) =>void
Parameters
| Parameter | Type |
|---|---|
event | LoopGuardDetectEvent |
Returns
void
threshold?
optionalthreshold:number
windowMs?
optionalwindowMs:number