Skip to content

done/fail fn can be called 2 times #2

@xxorax

Description

@xxorax

If a callback function is added (with done or fail fn) between the status change and the call of resolve/reject fonction (like between https://github.com/warpdesign/Standalone-Deferred/blob/master/js/deferred.js#L205-L208 ), then the callback will be called 2 times.

Need to implement a callback stack with disable and lock features, like in $.Callbacks.

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