Skip to content

This is an implementation in nodejs of a basic Observer.

License

Notifications You must be signed in to change notification settings

zampage/observer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic Observer

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published