-
Notifications
You must be signed in to change notification settings - Fork 975
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
Implement callbacks #27
Comments
This is probably way better than #14, it's the Node.js way to do things. Thanks for the suggestion, I'll keep it in mind. |
Better if returns a promise, a callback that doesn't have Looks like we have no err to report, and having always nil seems unnecessary |
I'm still not sure how I should handle this, but I think it would be best to use callbacks with a delay in the C code. This way the commands are chainable, the delay is non-blocking, and we won't run into any OS limitations. |
callbacks 👍 |
Will be this feature implemented in any future releases ? |
Promises, async/await 👍 |
I want to do something like
Would this be possible to do for all methods, so we can chain them properly, and so the methods are not blocking.
The text was updated successfully, but these errors were encountered: