Skip to content

tunderdomb/stations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stations Build Status

It's a radio! It's a pub/sub!

Radio docs Channel docs

var Radio = require("stations")

var radio = new Radio()

radio.subscribe("name", function listener(a, b, c){})
radio.publish("name", a, b, c)
radio.unsubscribe("name", listener)
radio.peek("name", listener)
radio.channelExists("name")
radio.deleteChannel("name")
radio.emptyChannel("name")
radio.hasSubscribers("name")
radio.isSubscribed("name", listener)
radio.channel("name")

About

Pub/sub event bus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published