摘要: 一、异步 1、回调异步 2、协程异步 二、websocket 1、api open on_message on_close write_message close check_origin 阅读全文
posted @ 2021-12-23 17:14 luyizhou 阅读(40) 评论(0) 推荐(0)
摘要: 一、实现异步 1 ''' 2 @Author :Lucian Lu 3 @Date :2021/12/22 13:57 4 ''' 5 import time, threading 6 7 8 def genCoroutine(func): 9 def wrapper(*args, **kwargs 阅读全文
posted @ 2021-12-23 13:41 luyizhou 阅读(391) 评论(0) 推荐(0)