Skip to content

WaitUntilParams.predicate

WaitUntilParams › predicate

Type: (this: void) => 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.