@xuda.io/xuda-worker-bundle-min 1.3.1165 → 1.3.1167
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.
- package/index.js +9 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3243,10 +3243,15 @@ func.datasource.run_events_functions = async function (
|
|
|
3243
3243
|
|
|
3244
3244
|
|
|
3245
3245
|
}
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3246
|
+
if (job_promises.length) {
|
|
3247
|
+
Promise.all(job_promises)
|
|
3248
|
+
.then((e) => {
|
|
3249
|
+
resolve()
|
|
3250
|
+
});
|
|
3251
|
+
|
|
3252
|
+
} else {
|
|
3253
|
+
resolve()
|
|
3254
|
+
}
|
|
3250
3255
|
|
|
3251
3256
|
})
|
|
3252
3257
|
|