Skip to main content

Interface: WaitUntilOption<T>

Defined in: packages/core/src/utils/timingUtil.ts:14

Type Parameters

T

T

Properties

debug?

optional debug: boolean

Defined in: packages/core/src/utils/timingUtil.ts:30

Whether it should log the conditional checks while waiting


probeFn()

probeFn: () => T | Promise<T>

Defined in: packages/core/src/utils/timingUtil.ts:18

A function that returns a value or promised value to be checked against the terminate condition

Returns

T | Promise<T>


terminateCondition

terminateCondition: T | (currentValue) => boolean

Defined in: packages/core/src/utils/timingUtil.ts:22

A value to check for equality or a function used for custom equality check


timeoutMs

timeoutMs: number

Defined in: packages/core/src/utils/timingUtil.ts:26

A number of milliseconds to wait before returning the last value