WaitUntilParams.predicate method
WaitUntilParams › predicate
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.Signature:
predicate(this: void): boolean | Promise<boolean>Parameters:
| Parameter | Type | Description |
|---|---|---|
| this | void |
Returns: boolean | Promise<boolean> — Whether the awaited condition has been met.