Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getStatus Node Callback style #26

Open
pedromsilvapt opened this issue Oct 15, 2015 · 0 comments
Open

getStatus Node Callback style #26

pedromsilvapt opened this issue Oct 15, 2015 · 0 comments

Comments

@pedromsilvapt
Copy link

The getStatus method on the device does not follow the usual style of nodejs callbacks. Is there any reason for this, and would it be any way of changing this without breaking backwards compatibility?

This is because I use a tool to convert callback api's to promises, and it expects the first argument to be an error message when present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant