API Reference / @gtkx/testing / WaitForOptions
Type Alias: WaitForOptions
WaitForOptions =
object
Defined in: types.d.ts:20
Options controlling how asynchronous queries and waits poll for a condition.
Properties
interval?
optionalinterval?:number
Defined in: types.d.ts:24
Delay in milliseconds between retries.
onTimeout?
optionalonTimeout?: (error) =>Error
Defined in: types.d.ts:26
Transforms the error thrown when the timeout elapses.
Parameters
error
Error
Returns
Error
stackTraceError?
optionalstackTraceError?:Error
Defined in: types.d.ts:28
Error whose stack trace attributes the timeout failure to the calling code.
timeout?
optionaltimeout?:number
Defined in: types.d.ts:22
Maximum time in milliseconds to keep retrying before failing.