Skip to content

Make sure all async methods return cancelled tasks correctly #2417

Closed

Description

@roji

We need to do a pass over all user-facing async methods, and make sure they do the right thing when passed an already-cancelled cancellation token: a cancelled task needs to be returned, rather than throwing an exception. In some cases we also seem to ignore the token completely.

Activity

  1. added this to the 4.1 milestone on Apr 4, 2019
  2. self-assigned this
    on Apr 4, 2019
  3. added a commit that references this issue on Aug 26, 2019
    ecdc5f8
  4. added theissue type on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions