clicker
v0.0.2
Published
Simple channel implementation in NodeJS
Downloads
3
Maintainers
Readme
clicker
Simple Channel Implementation in NodeJS
Install
npm install clicker --save
Example
CoffeeScript
clicker = require 'clicker'
pub = clicker.publisher 'topic one'
sub = clicker.subscriber 'topic one', 1, (data, callback) ->
console.log data
callback()
pub.publish 'Jah!', () ->
console.log 'Rasta!'