Удаление асинхронного результата

This commit is contained in:
2025-03-14 13:36:49 +03:00
parent eca927eb21
commit 481afd1c4d
2 changed files with 4 additions and 2 deletions
@@ -137,10 +137,13 @@ namespace mROA.Implementation.Frontend
var resultType = result switch var resultType = result switch
{ {
FinalCommandExecution => MessageType.FinishedCommandExecution, FinalCommandExecution => MessageType.FinishedCommandExecution,
AsyncCommandExecution => MessageType.AsyncCommandExecution,
ExceptionCommandExecution => MessageType.ExceptionCommandExecution, ExceptionCommandExecution => MessageType.ExceptionCommandExecution,
_ => MessageType.Unknown _ => MessageType.Unknown
}; };
if (resultType == MessageType.Unknown)
{
return;
}
_representationModule!.PostCallMessage(request.Id, resultType, result, result.GetType()); _representationModule!.PostCallMessage(request.Id, resultType, result, result.GetType());
} }
-1
View File
@@ -20,7 +20,6 @@ namespace mROA.Implementation
Unknown, Unknown,
FinishedCommandExecution, FinishedCommandExecution,
ExceptionCommandExecution, ExceptionCommandExecution,
AsyncCommandExecution,
CallRequest, CallRequest,
IdAssigning, IdAssigning,
CancelRequest, CancelRequest,