Skip to content

Failure return value #42

@AnthonyMDev

Description

@AnthonyMDev

Maybe I'm completely confused about the way this works, but shouldn't a failureClosure return Void? Currently, it's trying to return the Value type.

The README shows failure returning Void, which makes sense. Why is the failureClosure returning the value? If the task has failed, shouldn't there be no value?

I'm unable to use this, because, for the task I'm trying to create, if the task has failed, I can't return a value, since the value doesn't exist.

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