@xuda.io/runtime-bundle 1.0.966 → 1.0.967

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27532,12 +27532,12 @@ func.UI.worker.init = async function (SESSION_ID) {
27532
27532
  if (UI_WORKER_OBJ.jobs.length) {
27533
27533
  let running_job_children_elements = [];
27534
27534
  let active_job_children_elements = [];
27535
- for (const [key, val] of Object.entries(UI_WORKER_OBJ.jobs)) {
27535
+ for await (const [key, val] of Object.entries(UI_WORKER_OBJ.jobs)) {
27536
27536
  try {
27537
27537
  if (val.stat === 'busy') continue;
27538
27538
 
27539
27539
  if (!val.elementP) {
27540
- func.UI.worker.execute(val.SESSION_ID, val);
27540
+ await func.UI.worker.execute(val.SESSION_ID, val);
27541
27541
  continue;
27542
27542
  }
27543
27543
 
@@ -27575,12 +27575,12 @@ func.UI.worker.init = async function (SESSION_ID) {
27575
27575
  $elm.data().xuData.pending_to_delete = true;
27576
27576
  });
27577
27577
 
27578
- func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
27578
+ await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
27579
27579
  break;
27580
27580
  }
27581
27581
 
27582
27582
  // execute - if active job element not exist the current job ui and not detected as parent element
27583
- func.UI.worker.execute(val.SESSION_ID, val);
27583
+ await func.UI.worker.execute(val.SESSION_ID, val);
27584
27584
  continue;
27585
27585
 
27586
27586
  // active_job_children_elements = [];