spring-framework / org.springframework.scheduling.annotation / AsyncAnnotationAdvisor / setTaskExecutor

setTaskExecutor

open fun setTaskExecutor(executor: Executor): Unit

Specify the default task executor to use for asynchronous methods.