querysub 0.599.0 → 0.600.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "querysub",
3
- "version": "0.599.0",
3
+ "version": "0.600.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -349,11 +349,12 @@ export function getSyncedController<T extends {
349
349
  }
350
350
  }
351
351
  currentPromise = currentPromise || promise?.promise;
352
- if (currentPromise) {
353
- Querysub.triggerOnPromiseFinish(currentPromise, {
354
- waitReason: `Waiting for ${fncName} to finish`,
355
- });
356
- }
352
+ // NOTE: We do somewhat want this if it's a function that's called inside of a render function. However, a lot of the time this is called just as a promise function, in which case we don't want to rerun the event handler.
353
+ // if (currentPromise) {
354
+ // Querysub.triggerOnPromiseFinish(currentPromise, {
355
+ // waitReason: `Waiting for ${fncName} to finish`,
356
+ // });
357
+ // }
357
358
  return undefined;
358
359
  }
359
360
  call.promise = (...args: any[]) => {