node-dmx / dmx

DMX controller library for node.js
MIT License
297 stars 96 forks source link

Add return value to `run` method #69

Closed seriousManual closed 5 years ago

seriousManual commented 5 years ago

Currently the run method has no return value.

It would be helpful if the method would return a reference to the animation itselves, so that code like this would be possible:

let foo = new DMX.Animation()
   .add(...)
   .run(...);
Fensterbank commented 5 years ago

Thanks! Merged. 🍪