Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

v1: executing async functions without callbacks should return promises #7549

@jonathanong

Description

@jonathanong

now that Promises are included in master, how about having async functions returning promises when no callback is supplied? this semi-breaks backwards compatibility, but people should be passing callbacks right now anyways, even just noops.

i think this belongs in v1, but 0.14 would be great as well. we could add a note to "always add callbacks!" for migration

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