Increasing parallelism of UDF over in-memory data store

I am seeing some udf_timeouts and udf_errors on an in-memory data store. Based on this link I am assuming service threads will be executing the UDF.

Is it true or will it be executed by transaction threads? If it is indeed being executed by service threads, is there a benefit of increasing service threads to more than the CPU cores?