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
This is an implementation in nodejs of a basic Observer.
The Observer keeps a list of all subscriptions and notifys the subscriber about triggered events.
Subscribing
Observer.subscribe(SOME_CONSTANT,function);
Triggering
Observer.trigger(SOME_CONSTANT[,data]);
About
This is an implementation in nodejs of a basic Observer.