Skip to content

Make cancellation handling command handlers more robust #52528

@allisonchou

Description

@allisonchou

#52514 fixes an issue where Roslyn does not handle cancellation correctly in command handlers. However, this approach is fragile as each command handler will need to remember to catch any potential cancellation exceptions after the next handler has been called.

We should instead consider coming up with a more robust approach, such as an abstract handler that each command handler implements that deals with catching the exceptions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions