Skip to content

Feature request: fs async methods to return promises if callback is not provided. #2368

@RobiFerentz

Description

@RobiFerentz

Just a possible 'nice to have' feature, to match the current trend of things like the Fetch API etc.
Obviously this would only work in methods where the usual callback is called exactly once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.fsIssues and PRs related to the fs subsystem / file system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions