You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Dreamescaper
changed the title
Remove Unit type
Update IRequestHandler to return ValueTask instead of ValueTask<Unit>
Jul 7, 2023
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 ofTask<Unit>
.Does it make sense to remove it in the next major version?
The text was updated successfully, but these errors were encountered: