@io-orkes/conductor-javascript 0.0.9 → 0.0.10

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/dist/index.mjs CHANGED
@@ -9490,7 +9490,6 @@ init_esm_shims();
9490
9490
 
9491
9491
  // src/task/TaskRunner.ts
9492
9492
  init_esm_shims();
9493
- import { setTimeout as setTimeout2 } from "timers/promises";
9494
9493
  var DEFAULT_ERROR_MESSAGE = "An unknown error occurred";
9495
9494
  var noopLogger = {
9496
9495
  debug: (...args) => {
@@ -9531,7 +9530,7 @@ var TaskRunner = class {
9531
9530
  } catch (unknownError) {
9532
9531
  this.handleUnknownError(unknownError);
9533
9532
  }
9534
- await setTimeout2(this.options.pollInterval);
9533
+ await new Promise((r) => setTimeout(() => r(true), this.options.pollInterval));
9535
9534
  }
9536
9535
  };
9537
9536
  this.executeTask = async (task) => {