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

Support for arrow functions everywhere #5

Open
tenoriojuann opened this issue Oct 31, 2018 · 0 comments
Open

Support for arrow functions everywhere #5

tenoriojuann opened this issue Oct 31, 2018 · 0 comments

Comments

@tenoriojuann
Copy link

There are methods (i.e each()) whose output are compatible with arrow functions since when running each() against a NodeMap will produce 2 arguments, nodeId and node.
Other methods (i.e readNode(), connect()) however do not work with the arrow functions since this becomes the wanted value.

Is there a plan to support node-style-callbacks? Meaning error first and then the successful response data?

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