class asyncio.Condition(lock=None, *, loop=None)
A Condition implementation, asynchronous equivalent to threading.Condition.
This class implements condition variable objects. A condition variable allows one or more coroutines to wait until they are notified by another coroutine.
If the lock argument is given and not None, it must be a Lock object, and it is used as the underlying lock. Otherwise, a new Lock object is created and used as the underlying lock.
This class is not thread safe.
co