Skip to content

[Feature request] Add fs.promises functions #164

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>.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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