Worker.CorePercent

From Xojo Documentation

Property (As Integer )
aWorker.CorePercent = newIntegerValue
or
IntegerValue = aWorker.CorePercent

New in 2020r2

Supported on Desktop.

The the maximum number of cores to use expressed as a percent of total CPU cores.