I'm looking to fire off a function, but only when two or multiple events have fired. Is there a built in way to do this?
Here's with one event:
setup.on('api routes ready', function () {
console.log('Yay!');
});
How can I do this:
setup.on('api routes ready', 'website routes ready', function () {
console.log('Yay!');
});
Any ideas would be rockin'!