Skip to content

Promise based API #126

@jarrodek

Description

@jarrodek

Operating System

All

NodeJS Version

All except 0.10.x which doesn't support promises.

Expected Behavior

Instead of using callback function the API always returns a Promise object for async operations.
Similar pattern to fs-extra can be used to not break compatibility: if callback function is not set when calling function then the function returns a promise.

Experienced Behavior

No promises API.

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