摘要: 对应示例代码,回调函数不会阻塞 import time from concurrent.futures import ThreadPoolExecutor def get(delay): print('delay {}s'.format(delay)) time.sleep(delay) # 延时 阅读全文
posted @ 2021-02-25 15:42 suwenyuan 阅读(1278) 评论(0) 推荐(0) 编辑