(self)
| 1702 | Future.Event = DebugEvent |
| 1703 | |
| 1704 | def _debug_block_until_ready(self): |
| 1705 | while not self.is_ready(): |
| 1706 | time.sleep(.001) |
| 1707 | Future.block_until_ready = _debug_block_until_ready |
| 1708 | elif event_model == 'asyncio': |
| 1709 | global asyncio |