You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tony kerz edited this page Nov 8, 2015
·
2 revisions
First things first, let's write a theoretical subscriber
varmySubscriber=function(){console.log('Something happened')// do something}
Simple isn't it? It's still not registered anywhere but soon it will be. And when called, it will do what it was designed for (here just a console.log()).