⌚common
Functions:
async
common.async(func: function): Future
参数
类型
描述
func
function
创建Future包装。
sleep
common.sleep(millis: number): Future
参数
类型
描述
millis
number
睡眠时长(毫秒)
在当前线程中异步睡眠。
notify
common.nofity(type: NotifyType, msg: string)
参数
类型
描述
msg
string
通知内容
在客户端上发送全局通知。
Enumerates:
🔗 NotifyType
NotifyType值
描述
0
info
1
succ
2
err
3
warn
最后更新于