Wednesday 15 February 2012

meteor - Is it possible to view all active subscriptions -


I have multiple memberships set up by several autores to see which memberships are active at any time, for the purposes of debugging For this it would be useful. Is this possible?

There is no idea about the "active" subscription.

But an object is Meteor.default_connection._subscriptions that stores all membership information that is subscribed up to a given time.

  var subs = Meteor.default_connection._subscriptions; // All Subscribed Subscriptions Object.keys (subs) .for eca (function (key) {console.log (subs [key]) // view them in the console.});   

Not at all, though not exactly what you want.

No comments:

Post a Comment