Skip to content

Support for arrow functions everywhere #5

Description

@xolotlatoani

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions