Skip to content

onCancel() handler prevents automatic cancellation propagation #57

@lilyball

Description

@lilyball

The existence of an onCancel handler prevents automatic cancellation propagation from other children from cancelling the upstream parent. An onCancel handler should always act like a tap, as it's rather surprising that registering to be notified when a promise is cancelled would prevent the promise from being cancelled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions