Version:
interface

SettledOptions

typescript
interface SettledOptions

Properties

NameTypeDescription
matcher?(event: AccessibilityEvent | WindowEvent) => booleanOnly events passing this matcher reset the quiet timer.
minimumWaitMs?numberMinimum wait before checking quiescence. Default: 50ms
quietPeriodMs?numberTime with no events to consider UI settled. Default: 300ms
signal?AbortSignalAbortSignal for cancellation.
signals?SettledSignal[]Which event types count as activity. Default: context-dependent.

Was this page helpful?