0.0.1 • Published 9 years ago
somata-flyd v0.0.1
somata-flyd
Wrap Somata service events in a Flyd stream
Usage
somata = require 'somata-flyd'
flyd = require 'flyd'
client = new somata.Client
motion$ = client.on('maia:smartthings', 'motion')
gotMotion = (e) -> console.log '[motion event]', e
flyd.on gotMotion, motion$
0.0.1
9 years ago