Evaluated immediately and then every pollInterval seconds.
Polling stops as soon as it returns true.
Optional PollOptions. With no timeout, polling
continues indefinitely until the predicate is true or abort fires.
true if the predicate became true within the timeout, otherwise
false.
Repeatedly evaluates
predicateuntil it returnstrueor the timeout elapses, resolving to the predicate's final value. Useful for waiting on asynchronous state to settle without wiring up an event subscription.