@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.
@@ -8397,12 +8397,12 @@ func.UI.worker.init = async function (SESSION_ID) {
8397
8397
  if (UI_WORKER_OBJ.jobs.length) {
8398
8398
  let running_job_children_elements = [];
8399
8399
  let active_job_children_elements = [];
8400
- for (const [key, val] of Object.entries(UI_WORKER_OBJ.jobs)) {
8400
+ for await (const [key, val] of Object.entries(UI_WORKER_OBJ.jobs)) {
8401
8401
  try {
8402
8402
  if (val.stat === 'busy') continue;
8403
8403
 
8404
8404
  if (!val.elementP) {
8405
- func.UI.worker.execute(val.SESSION_ID, val);
8405
+ await func.UI.worker.execute(val.SESSION_ID, val);
8406
8406
  continue;
8407
8407
  }
8408
8408
 
@@ -8440,12 +8440,12 @@ func.UI.worker.init = async function (SESSION_ID) {
8440
8440
  $elm.data().xuData.pending_to_delete = true;
8441
8441
  });
8442
8442
 
8443
- func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
8443
+ await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
8444
8444
  break;
8445
8445
  }
8446
8446
 
8447
8447
  // execute - if active job element not exist the current job ui and not detected as parent element
8448
- func.UI.worker.execute(val.SESSION_ID, val);
8448
+ await func.UI.worker.execute(val.SESSION_ID, val);
8449
8449
  continue;
8450
8450
 
8451
8451
  // active_job_children_elements = [];
@@ -8398,12 +8398,12 @@ func.UI.worker.init = async function (SESSION_ID) {
8398
8398
  if (UI_WORKER_OBJ.jobs.length) {
8399
8399
  let running_job_children_elements = [];
8400
8400
  let active_job_children_elements = [];
8401
- for (const [key, val] of Object.entries(UI_WORKER_OBJ.jobs)) {
8401
+ for await (const [key, val] of Object.entries(UI_WORKER_OBJ.jobs)) {
8402
8402
  try {
8403
8403
  if (val.stat === 'busy') continue;
8404
8404
 
8405
8405
  if (!val.elementP) {
8406
- func.UI.worker.execute(val.SESSION_ID, val);
8406
+ await func.UI.worker.execute(val.SESSION_ID, val);
8407
8407
  continue;
8408
8408
  }
8409
8409
 
@@ -8441,12 +8441,12 @@ func.UI.worker.init = async function (SESSION_ID) {
8441
8441
  $elm.data().xuData.pending_to_delete = true;
8442
8442
  });
8443
8443
 
8444
- func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
8444
+ await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
8445
8445
  break;
8446
8446
  }
8447
8447
 
8448
8448
  // execute - if active job element not exist the current job ui and not detected as parent element
8449
- func.UI.worker.execute(val.SESSION_ID, val);
8449
+ await func.UI.worker.execute(val.SESSION_ID, val);
8450
8450
  continue;
8451
8451
 
8452
8452
  // active_job_children_elements = [];