Cancellation Flow
Cancellation flow discussion involving UX and technical details
Technical details
CGI Electron Behavior
this.ExecutionConnection.On<dynamic, ControllerExecutionResult>(Messages.Conversion.Convert, p =>
{
var executionResult = this.controller.Execute(this.executionParameters);
if (executionResult.FinalResult != FinalResult.Success)
{
this.ExecutionConnection.Send(
Messages.Conversion.CriticalError,
new ExecutionEvent() {
Severity = ExecutionEventSeverity.Critical,
ExecutionStep = ExecutionStep.LoadingSymbols
});
}
return executionResult;
});
// The following lines of code are just a suggestion:
this.ExecutionConnection.On<dynamic, ControllerExecutionResult>(Messages.Conversion.Cancel, p => {
return this.controller.Cancel();
});Failure of the cancellation
The cancellation takes too much time
UX/UI details
Side effects of the Cancellation
PBIs
Last updated