waiting Description
Waiting is a small library that waits for things to happen. It simply waits for a function in various modes to return True. Flux can be used to simulate timelines. Waiting is compatible. When you have a function that you need to wait for, waiting is the most basic use. It is easy to wait forever. If your predicate returns value, it will be returned by wait(). You can also specify a timeout parameter. An exception is made if the timeout expires and the predicate has not been fulfilled. The predicate is polled at a specified interval (default 1 second). You can change the interval with the sleep_seconds argument. Waiting provides two simple options to aggregate multiple predicates. They are similar to Python's built in any() and all() but don't call predicates once they have been satisfied. This is useful for predicates that are slow or inefficient.
Pricing
Integrations
Company Details
Product Details
waiting Features and Options
waiting User Reviews
Write a Review- Previous
- Next