How to use the waitSysMsgTimeout function from bindings
Find comprehensive JavaScript bindings.waitSysMsgTimeout code examples handpicked from public code repositorys.
GitHub: hzqst/CGAssistantJS

212 213 214 215 216 217 218 219 220
/* 异步登出回城 由于2022年1月18日的一次更新之后登出回城有可能失败,故所有脚本中的登出回城操作均推荐更改为异步操作 */ cga.logBack = (cb)=>{ cga.waitSysMsgTimeout((err, msg)=>{ if(err){ throw new Error('异步登出无反应,可能网络不稳定或者已经掉线!'); }
+ 7 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)