PyDocs

Nav

Concurrent Execution

Condition.wait_for

threading

method of Condition · Added in 3.2 (source) not WASI
  • Condition.wait_for(predicate, timeout=None)
Wait until a condition evaluates to True.

predicate should be a callable which result will be interpreted as a
boolean value.  A timeout may be provided giving the maximum time to
wait.
0 Examples
No examples for threading/Condition.wait_for.
See Also
No see-alsos for threading/Condition.wait_for
0 Notes
No notes for Condition.wait_for