mwittig / node-milight-promise

A node module to control Milight LED bulbs and OEM equivalents such as Rocket LED, Limitless LED Applamp, Easybulb, s`luce, iLight, iBulb, and Kreuzer
MIT License
114 stars 27 forks source link

Possible to ignore previous commands and run last command first? #54

Closed niv-d closed 6 years ago

niv-d commented 6 years ago

I am using this with a rest api and sometimes the color lags way behind what the current color is, I assume that's a result of the promise. Is there a way to cancel previous promises and make the current a priority?

niv-d commented 6 years ago

Nevermind. Just changed delay before commands...