ReadonlynameTask function name.
Optional ReadonlypriorityTask function priority. Lower values have higher priority.
Optional ReadonlystrategyTask function worker choice strategy.
Optional ReadonlyworkerTask function worker node keys affinity.
Restricts initial task dispatch to specified worker nodes by their indices.
Must contain valid indices within [0, pool max size - 1].
If undefined, task can execute on any worker node.
Task stealing ignores affinity. For strict affinity with task queues enabled,
disable both taskStealing and tasksStealingOnBackPressure.
Task function properties.