<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [BasicHGWOptions](./bitburner.basichgwoptions.md) > [threads](./bitburner.basichgwoptions.threads.md) ## BasicHGWOptions.threads property Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. Accepts positive non integer values. **Signature:** ```typescript threads?: number; ```