N
N
netcore2020-10-04 09:43:56
.NET
netcore, 2020-10-04 09:43:56

Why does a MediatR request return a Task?

UPD: for some reason, Habr QA cuts generics)

Why does the MediatR request return Task<Unit>? What is Unit.Value anyway?
and what is the difference between

AsyncRequestHandler
and
IRequestHandler

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question