Closed Metadorius closed 2 days ago
It is possible to modify to directly return Task/ValueTask, but it requires modifications in various codes and the validity needs to be examined, so there are no plans for this at the moment.
UnaryResult
is exposed only at the service interface level and expects Task
/ValueTask
to be used for internal logic.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Use case: I currently have a thick client in .NET Framework, but we need to decouple business logic into a separate server for security. Currently our code is using
Task
, all interfaces and database access objects that implement them are using tasks. We also may need to have both thick and thin clients.Currently from what we see there are two issues:
UnaryResult
and such instead ofTask
;Hence why - is it possible to use
Task
/ValueTask
, if not atm - can that be implemented in a reasonable amount of effort?