@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.js CHANGED
@@ -9540,7 +9540,6 @@ init_cjs_shims();
9540
9540
 
9541
9541
  // src/task/TaskRunner.ts
9542
9542
  init_cjs_shims();
9543
- var import_promises = require("timers/promises");
9544
9543
  var DEFAULT_ERROR_MESSAGE = "An unknown error occurred";
9545
9544
  var noopLogger = {
9546
9545
  debug: (...args) => {
@@ -9581,7 +9580,7 @@ var TaskRunner = class {
9581
9580
  } catch (unknownError) {
9582
9581
  this.handleUnknownError(unknownError);
9583
9582
  }
9584
- await (0, import_promises.setTimeout)(this.options.pollInterval);
9583
+ await new Promise((r) => setTimeout(() => r(true), this.options.pollInterval));
9585
9584
  }
9586
9585
  };
9587
9586
  this.executeTask = async (task) => {