Skip to content

Take advantage of util.promisify() if it lands in Node.js #41

@sindresorhus

Description

@sindresorhus

Just opening this so I don't forget. util.promisify() can interact directly with the V8 API, so it doesn't create closures and will be faster than userland implementations.

nodejs/node#12442

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions