Block until the internal flag is true. If the internal flag is true on entry, return True immediately. Otherwise, block until another task calls set() to set the flag to true, then return True.
asyncio/Event.wait
Event.wait