Skip to content

sethbonnie/pubhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PubHub

A simple pubsub module meant to facilitate a true messaging style of Object-Oriented programming. Through this architecture, objects subscribe for messages that they are interested in rather than manipulating other objects directly. This encourages a shared-nothing style where each object keeps track only of its own state.

Hub API

sub( message [, subscriber ] )

unsub( message, subscriber )

dispatch( message, payload )

About

An event dispatcher.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published