Skip to content

Update IRequestHandler to return ValueTask instead of ValueTask<Unit> #103

@Dreamescaper

Description

@Dreamescaper

I assume that this type was added for compatibility with MediatR. However, it is removed in latest MediatR versions - which is a good thing in my opinion, as it is much cleaner to write Task return type instead of Task<Unit>.

Does it make sense to remove it in the next major version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions