toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simboot-core-spring-boot-starter
/
love.forte.simboot.spring.autoconfigure
/
CoroutineDispatcherConfiguration
/
defaultSimbotEventDispatcher
default
Simbot
Event
Dispatcher
@
Bean
@
ConditionalOnMissingBean
(
value
=
[
CoroutineDispatcherContainer::class
]
)
open
fun
defaultSimbotEventDispatcher
(
executor
:
ThreadPoolTaskExecutor
)
:
CoroutineDispatcherContainer
(
source
)
默认情况下将spring内部的
ThreadPoolTaskExecutor
作为调度器。