add possibility to filter listen event on server
some thing like that:
socket.on('my/todos updated', { ids:[1,2,3], maxLenght: 200 }, function(todo) {
console.log('Got an updated Todo!', todo);
});
add possibility to filter listen event on server
some thing like that:
socket.on('my/todos updated', { ids:[1,2,3], maxLenght: 200 }, function(todo) {
console.log('Got an updated Todo!', todo);
});