Skip to content

[Feature Request] make fromPromise second argument errorFn optional #673

Description

@cnwangjie

Just make the default errorFn is identity (err => err) and keep the result is unknown error.

It'll make the library is simpler to use.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions