Skip to content

somata/somata-flyd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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$

About

Wrap Somata service events in a Flyd stream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published