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

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.js CHANGED
@@ -3881,7 +3881,9 @@ var _ProdRuntimeManager = class _ProdRuntimeManager {
3881
3881
  await this.ipc.send("WAIT_FOR_TASK", {
3882
3882
  friendlyId: params.id
3883
3883
  });
3884
- return await promise;
3884
+ const result = await promise;
3885
+ clock.reset();
3886
+ return result;
3885
3887
  }
3886
3888
  async waitForBatch(params) {
3887
3889
  if (!params.runs.length) {
@@ -3902,6 +3904,7 @@ var _ProdRuntimeManager = class _ProdRuntimeManager {
3902
3904
  runFriendlyIds: params.runs
3903
3905
  });
3904
3906
  const results = await promise;
3907
+ clock.reset();
3905
3908
  return {
3906
3909
  id: params.id,
3907
3910
  items: results