Skip to content

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

@cnwangjie

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.

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