rad
5.1.0
|
Functions | |
def | run_with_cleanup (*futures, loop=None, cleanup_timeout=30.0) |
A blocking function that takes care of running one or more futures or , or coroutines until completion. More... | |
Variables | |
LOGGER = logging.getLogger(__name__) | |
def rad.core.run.run_with_cleanup | ( | * | futures, |
loop = None , |
|||
cleanup_timeout = 30.0 |
|||
) |
A blocking function that takes care of running one or more futures or , or coroutines until completion.
Other tasks in the event loop will be automatically cancelled once the futures complete. They are given a cleanup_timeout
second grace period to perform their cleanup.
Post conditions:
Examples
rad.core.run.LOGGER = logging.getLogger(__name__) |