Interface: WorkersConfiguration
Charting Library.WorkersConfiguration
Configures worker-thread usage for chart calculations and processing.
Properties
enabled
• enabled: boolean
Allows the library to use a dedicated worker thread for chart calculations and processing, including indicator calculations.
Set this property to true to attempt worker mode. Set it to false to keep chart calculations and processing on the main thread.
Note: If you are using custom indicators via the custom_indicators_getter option, your indicators must be pure.
They should not access any global variables, DOM APIs, or any values outside of the indicator's init and main functions,
as these will not be available within the worker thread context.