(self, evt, timeout)
return evt.is_set()
Event.wait() with timeout
Event.wait() with timeout
Event . wait () with timeout
async def event_wait(self, evt, timeout):
        '''
        Event.wait() with timeout
        '''
        try:
            await asyncio.wait_for(evt.wait(), timeout)
        except asyncio.TimeoutError:
            pass
        return evt.is_set()
async def event_wait ( self , evt , timeout ) : try : await asyncio . wait_for ( evt . wait ( ) , timeout ) except asyncio . TimeoutError : pass return evt . is_set ( )