Answer the question
In order to leave comments, you need to log in
Web socket asynchrony in nodejs. How to do it right?
There is this code:
ws.on('message', function(){
if(flag==true) {
flag=false;
// много кода
}
flag=true;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question