Reputation: 7045
what is happening if I write
socket.on('db' , function() {
//Execute set of actions 1
});
socket.on('db' , function() {
//Execute set of actions 2
});
What set of action will be executed ? is one overriding the other?
Upvotes: 0
Views: 19