asyncio.wait_for
Also written: wait_for
Raises `TimeoutError` if a coroutine takes longer than the given number of seconds. With a thread, the waiting stops but the thread keeps running, so limits are also needed inside the agent.
Also written: wait_for
Raises `TimeoutError` if a coroutine takes longer than the given number of seconds. With a thread, the waiting stops but the thread keeps running, so limits are also needed inside the agent.