# WorkbookEvents Class

> WorkbookEvents class in the TX Sheet Control JavaScript API for Node.js: Per-document typed subscriptions. Covers 2 methods and a JavaScript example.

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

---

## On This Page

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

---

## In This Section

- [WorkbookEvents.on Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/workbookevents/on-method/llms.txt): WorkbookEvents.on method in the TX Sheet Control JavaScript API for Node.js: Registers a listener and returns an idempotent unsubscribe function.
- [WorkbookEvents.once Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/workbookevents/once-method/llms.txt): WorkbookEvents.once method in the TX Sheet Control JavaScript API for Node.js: Registers a listener that unsubscribes before its first invocation.

---

## Nearby

- **Previous:** [WorkbookCalculation.setExternalWorkbook Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/workbookcalculation/setexternalworkbook-method/llms.txt)
- **Next:** [WorkbookEvents.on Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/workbookevents/on-method/llms.txt)
