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

Consider usage with promises #45

Open
MariusRumpf opened this issue Nov 24, 2016 · 3 comments
Open

Consider usage with promises #45

MariusRumpf opened this issue Nov 24, 2016 · 3 comments

Comments

@MariusRumpf
Copy link
Owner

Using promises features like async/await can be used.

@MarcGodard
Copy link

I am looking for this... I am finding it very difficult to use without promises... I am using feathersJS as my framework (which is awesome) but this lib can't / will not play nice with feathers.

@ristomatti
Copy link
Collaborator

@MarcGodard I'm afraid this won't happening any time soon. I have three pull requests in queue from October, things I've discussed briefly with @MariusRumpf. At least I won't do further development before coding using modern JS syntax is possible. If you need promises you could try if https://github.com/futomi/node-lifx-lan would be suitable?

@MarcGodard
Copy link

@ristomatti thanks, I will check out that lib.

I managed to make it work with feathersJS but it is hacky... maybe this lib will work better, thanks.

If you need help making it ES6 / ES7 version, let me know.

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

No branches or pull requests

3 participants