Skip one event loop run cycle. This is a private helper for 'asyncio.sleep()', used when the 'delay' is set to 0. It uses a bare 'yield' expression (which Task.__step knows how to handle) instead of creating a Future object.
()
| 624 | |
| 625 | @types.coroutine |
| 626 | def __sleep0(): |
| 627 | """Skip one event loop run cycle. |
| 628 | |
| 629 | This is a private helper for 'asyncio.sleep()', used |
| 630 | when the 'delay' is set to 0. It uses a bare 'yield' |
| 631 | expression (which Task.__step knows how to handle) |
| 632 | instead of creating a Future object. |
| 633 | """ |
| 634 | yield |
| 635 | |
| 636 | |
| 637 | async def sleep(delay, result=None): |