Is there a way to get a list of all connected clients / ddp connections?
There are a couple of things I’ve tried to manually keep track of connections, (using this.connection._id
within methods, or Meteor.onConnection).
But the problem is that if I store those connection._id's
manually - as in a collection - as soon as the server restarts all connected clients get a new connection._id
.
thanks