摘要:
``` import asyncio def target(loop, timeout=None): future = asyncio.run_coroutine_threadsafe(add(1, b=2), loop) return future.result(timeout) async def add(a, b): await asyncio.sleep(1) return a + b l 阅读全文
posted @ 2019-11-26 10:29
公众号python学习开发
阅读(1058)
评论(0)
推荐(0)

浙公网安备 33010602011771号