WaitUntilParams
Parameters for CommonArguments.waitUntil.
Import:
import type { WaitUntilParams } from 'obsidian-integration-testing';Signature:
export interface WaitUntilParamsProperties
| Property | Type | Description |
|---|---|---|
| intervalInMilliseconds? | number | The polling interval between predicate checks. |
| message? | string | An optional detail appended to the timeout error message, describing what was being waited for. |
| timeoutInMilliseconds? | number | The maximum time to wait before rejecting. |
Methods
| Method | Returns | Description |
|---|---|---|
| predicate(this) | boolean | Promise<boolean> | The condition to wait for. Polled immediately, then on every interval until it returns a truthy value. May be synchronous or asynchronous — it is awaited on each poll. |