JamesBarwell / rpi-gpio.js

Control Raspberry Pi GPIO pins with node.js
MIT License
657 stars 116 forks source link

Add Promises interface #51

Closed JamesBarwell closed 6 years ago

JamesBarwell commented 7 years ago

There have been numerous requests for a Promises interface for this module. Adding this interface in addition to the err-back will hopefully simplify the use of this module. The existing API will still be supported but we will use Promises for examples.

JamesBarwell commented 6 years ago

Promises interface available in 0.9.0. This ticket will track a more strategic approach to the API and the documentation for the same.