)() as TaskFunction<Data, Response>,
...(taskFunctionProperties.priority != null && {
priority: taskFunctionProperties.priority,
)() as TaskFunction<Data, Response>,
...(taskFunctionProperties.priority != null && {
priority: taskFunctionProperties.priority,