Create a lock/unlock in async mode for Python

后端 未结 0 1167
庸人自扰
庸人自扰 2020-12-02 14:01

I have this new_lock function in JS:

function new_lock(){
    var unlock,lock = new Promise((res,rej)=>{ unlock=res;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题