Pubsub
Open console to see results
You can use the following methods:
const fooMtor = $.subscribe('foo-topic', function(data) { console.log(data) })
fooMtor.run('Same here')
$.publish('foo-topic', 'A message is being sent.')
fooMtor.off()