Skip to content

[Feature request] Add fs.promises functions #164

@CedX

Description

@CedX

Dealing with callback-based APIs is harder than Promise-based ones when you need to compose multiple consecutive calls.
So, it would be very cool to add all the functions from the fs Promise API.

EDIT: I know that we can use util.promisify() but we loose type safety as this function returns Rest<Dynamic> ‑> Promise<Dynamic>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions