This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new f040174 handle a mixed result
f040174 is described below
commit f040174c2ff5d4c4fdf68c9a5c21f3b03532ccdc
Author: Harbs <[email protected]>
AuthorDate: Tue Mar 1 13:35:26 2022 +0200
handle a mixed result
---
.../src/main/royale/org/apache/royale/utils/async/CompoundAsyncTask.as | 3 +++
.../main/royale/org/apache/royale/utils/async/SequentialAsyncTask.as | 3 +++
2 files changed, 6 insertions(+)
diff --git
a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/async/CompoundAsyncTask.as
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/async/CompoundAsyncTask.as
index c5e34f1..1b17f3e 100644
---
a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/async/CompoundAsyncTask.as
+++
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/async/CompoundAsyncTask.as
@@ -114,6 +114,9 @@ package org.apache.royale.utils.async
case "complete":
completedTasks.push(task);
break;
+ // what to do for "mixed?
+ // We're assuming this is "failed" and adding the result to the failed
tasks.
+ case "mixed":
case "failed":
failedTasks.push(task);
if(failEarly)
diff --git
a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/async/SequentialAsyncTask.as
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/async/SequentialAsyncTask.as
index 14c36ca..a715928 100644
---
a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/async/SequentialAsyncTask.as
+++
b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/async/SequentialAsyncTask.as
@@ -53,6 +53,9 @@ package org.apache.royale.utils.async
case "complete":
completedTasks.push(task);
break;
+ // what to do for "mixed?
+ // We're assuming this is "failed" and adding the result to the failed
tasks.
+ case "mixed":
case "failed":
failedTasks.push(task);
if(failEarly){