coroutine wait()
Wait until notified.
If the calling coroutine has not acquired the lock when this method is called, a RuntimeError
is raised.
This method releases the underlying lock, and then blocks until it is awakened by a notify()
or notify_all()
call for the same condition variable in another coroutine. Once awakened, it re-acquires the lock and returns True
.
This method is a coroutine.
Please login to continue.