Skip to content

Confusing API / Missing documentation: run() resolves even if deferFn is rejected #48

Closed
@0xR

Description

@0xR

My deferFn is rejected, however my run() call is resolved. Run() returns the Error which caused the rejection. This means that I have to check whether response is valid or an Error.

What I expect is the run() call to reject when deferFn rejects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions