@trigger.dev/core 0.0.0-v3-prelease-20240419151535 → 0.0.0-v3-trigger-dirs-20240422172150

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/v3/index.mjs CHANGED
@@ -3873,7 +3873,9 @@ var _ProdRuntimeManager = class _ProdRuntimeManager {
3873
3873
  await this.ipc.send("WAIT_FOR_TASK", {
3874
3874
  friendlyId: params.id
3875
3875
  });
3876
- return await promise;
3876
+ const result = await promise;
3877
+ clock.reset();
3878
+ return result;
3877
3879
  }
3878
3880
  async waitForBatch(params) {
3879
3881
  if (!params.runs.length) {
@@ -3894,6 +3896,7 @@ var _ProdRuntimeManager = class _ProdRuntimeManager {
3894
3896
  runFriendlyIds: params.runs
3895
3897
  });
3896
3898
  const results = await promise;
3899
+ clock.reset();
3897
3900
  return {
3898
3901
  id: params.id,
3899
3902
  items: results