# WorkbookCalculation Class

> WorkbookCalculation class in the Node.js TypeScript API: Per-document function registration, asynchronous settling, external documents and formula auditing.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > WorkbookCalculation Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/llms-full.txt

---

## On This Page

- [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/#constructor)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/#see-also)

---

## In This Section

- [WorkbookCalculation.dependents Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/dependents-method/llms.txt): WorkbookCalculation.dependents method in the Node.js TypeScript API: Builds the sparse formula graph and returns direct dependents of the requested cell.
- [WorkbookCalculation.precedents Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/precedents-method/llms.txt): WorkbookCalculation.precedents method in the Node.js TypeScript API: Returns the cells read by the current formula, in stable identity order.
- [WorkbookCalculation.recalculateAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/recalculateasync-method/llms.txt): WorkbookCalculation.recalculateAsync method in the Node.js TypeScript API, with the parameter options, the return type Promise<void> and a TypeScript example.
- [WorkbookCalculation.registerFunction Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/registerfunction-method/llms.txt): WorkbookCalculation.registerFunction method in the TX Sheet Control TypeScript API for Node.js: Registers a callback, including Promise results.
- [WorkbookCalculation.removeFunction Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/removefunction-method/llms.txt): WorkbookCalculation.removeFunction method in the TX Sheet Control TypeScript API for Node.js: Removes a registered callback.
- [WorkbookCalculation.setExternalWorkbook Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/setexternalworkbook-method/llms.txt): WorkbookCalculation.setExternalWorkbook method in the TX Sheet Control TypeScript API for Node.js: Binds a snapshot of an already loaded workbook.

---

## Nearby

- **Previous:** [Workbook.pivotTables Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbook/pivottables-property/llms.txt)
- **Next:** [WorkbookCalculation.dependents Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcalculation/dependents-method/llms.txt)
