|
@ -448,6 +448,8 @@ function onCollection(err, collection) { |
|
|
var user = resob1.res25creator |
|
|
var user = resob1.res25creator |
|
|
console.log('datauser ' + JSON.stringify(user)); |
|
|
console.log('datauser ' + JSON.stringify(user)); |
|
|
//io.in(user).emit("logdata", reslog);
|
|
|
//io.in(user).emit("logdata", reslog);
|
|
|
|
|
|
const sockets = await io.of('/').adapter.sockets(); |
|
|
|
|
|
console.log(sockets); // a Set containing all the connected socket ids
|
|
|
var user = 'anagnostopoulos@uniwa.gr' |
|
|
var user = 'anagnostopoulos@uniwa.gr' |
|
|
io.in(user).emit("logdata", reslog); |
|
|
io.in(user).emit("logdata", reslog); |
|
|
itemsProcessed++; |
|
|
itemsProcessed++; |
|
|