Skip to content

wish: If no callback is supplied return a Promise #20

@markstos

Description

@markstos

Node.js Now has some Promise methods in the core as well as async and await.

Having validate return a promise if no callback is provided would a welcome addition.

Bluebird's asCallback() method as one of example of supporting both callback and Promise APIs.

http://bluebirdjs.com/docs/api/ascallback.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestNew feature or enhancement. May require GitHub community feedback.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions