Package.events.onAny(function(event, value){
console.log('This will log ALL events from any package, be careful!', event, value);
});
I removed sts and added a generic events implementation for 0.9.0, but imho this is more powerful and should be the default for both the current branch and 0.9.0
Adds wilcard event support with EventEmitter2 Removes STS.
Wildcard events let you match all events from a particular package:
Where
user
is the type set in app.jsYou can also listen to ALL events with
onAny
:I removed sts and added a generic events implementation for 0.9.0, but imho this is more powerful and should be the default for both the current branch and 0.9.0