例1: run_until_complete import asyncio @asyncio.coroutine def sleep(t): for i in range(t): print(i, '~~~~') yield from asyncio.sleep(1) loop ...
確定! 回上一頁