Skip to content

Support returning Deferred objects #9

@colelawrence

Description

@colelawrence

I was having a really difficult time debugging some rejected promises, because I was only returning a Deferred object in my onResolved callback. Would it be wrong to also accept Deferred objects so we can use their .promise?

I think it would be really easy and non-breaking since we could do it by only changing this line

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