[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. Signature: ```typescript threads: number; ```