How to use the waitSysMsgTimeout function from bindings

Find comprehensive JavaScript bindings.waitSysMsgTimeout code examples handpicked from public code repositorys.

212
213
214
215
216
217
218
219
220

/*  异步登出回城
        由于2022年1月18日的一次更新之后登出回城有可能失败,故所有脚本中的登出回城操作均推荐更改为异步操作
*/
cga.logBack = (cb)=>{
        cga.waitSysMsgTimeout((err, msg)=>{
                if(err){
                        throw new Error('异步登出无反应,可能网络不稳定或者已经掉线!');
                }
fork icon33
star icon44
watch icon5

+ 7 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)