Skip to main content

Type Alias: LoopGuardOptions

LoopGuardOptions: object

Type declaration

cooldownMs?

optional cooldownMs: number

enabled?

optional enabled: boolean

onDetect()?

optional onDetect: (event) => void

Parameters

ParameterType
eventLoopGuardDetectEvent

Returns

void

threshold?

optional threshold: number

windowMs?

optional windowMs: number