Interface: WaitForOptions
Options for waitFor.
Extends
Properties
interval?
optionalinterval?:number
Interval between predicate evaluations, in milliseconds.
Default Value
signal?
optionalsignal?:AbortSignal
Cancels the operation. While waiting between attempts or polls the cancellation is observed immediately; an in-flight attempt is not interrupted (abort the underlying work yourself if needed).
Inherited from
timeout?
optionaltimeout?:number
Overall time budget in milliseconds. When exceeded a
TimeoutError is thrown. Pass Infinity to wait forever.
