@univerjs/engine-formula 0.15.0 → 0.15.1-insiders.20260117-8ce4a01

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/lib/es/facade.js CHANGED
@@ -123,20 +123,7 @@ let m = class extends C {
123
123
  });
124
124
  }
125
125
  /**
126
- * Wait for computing in the Univer instance to complete. Please note that this does not only include formula calculation,
127
- * but also other computing tasks, e.g. pivot table calculation.
128
- * @param {number} [timeout] The maximum time to wait for the computing to complete, in milliseconds. The default
129
- * value is 30,000 milliseconds.
130
- * @returns {Promise<boolean>} This method returns `true` if the computing is complete. If the timeout is reached, this
131
- * method returns `false`.
132
- *
133
- * @example
134
- * ```ts
135
- * const formulaEngine = univerAPI.getFormula();
136
- * formulaEngine.whenComputingCompleteAsync(3000).then((isComplete) => {
137
- * console.log('Computing complete:', isComplete);
138
- * });
139
- * ```
126
+ * @deprecated Use `onCalculationEnd` instead.
140
127
  */
141
128
  whenComputingCompleteAsync(e) {
142
129
  const t = this._injector.get(b);
@@ -146,7 +133,7 @@ let m = class extends C {
146
133
  ));
147
134
  }
148
135
  /**
149
- * @deprecated Use `whenComputingCompleteAsync` instead.
136
+ * Waits for the formula calculation to complete.
150
137
  * @returns {Promise<void>} This method returns a promise that resolves when the calculation is complete.
151
138
  */
152
139
  onCalculationEnd() {