@holo-js/queue 0.3.23 → 0.3.25

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -0
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -1281,6 +1281,8 @@ async function runQueueWorker(options = {}) {
1281
1281
  }
1282
1282
  if (sleepSeconds > 0) {
1283
1283
  await sleepFn(sleepSeconds * 1e3);
1284
+ } else {
1285
+ await new Promise((resolve2) => setImmediate(resolve2));
1284
1286
  }
1285
1287
  continue;
1286
1288
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holo-js/queue",
3
- "version": "0.3.23",
3
+ "version": "0.3.25",
4
4
  "description": "Holo-JS Framework - queue contracts and config helpers",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -28,8 +28,8 @@
28
28
  "test": "vitest --run"
29
29
  },
30
30
  "dependencies": {
31
- "@holo-js/config": "^0.3.23",
32
- "@holo-js/kernel": "^0.3.23"
31
+ "@holo-js/config": "^0.3.25",
32
+ "@holo-js/kernel": "^0.3.25"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^22.10.2",