Fixed result type check failing for Task result in flows
This commit is contained in:
parent
320ccfa0e5
commit
17074178d5
@ -65,7 +65,7 @@ namespace Tapeti.Flow.Default
|
|||||||
await HandleParallelResponse(messageContext);
|
await HandleParallelResponse(messageContext);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (context.Result.Info.ParameterType == typeof(ValueTask))
|
else if (context.Result.Info.ParameterType == typeof(ValueTask))
|
||||||
{
|
{
|
||||||
context.Result.SetHandler(async (messageContext, value) =>
|
context.Result.SetHandler(async (messageContext, value) =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user