simple-robot
3.0.0-RC.2
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
默认情况下将spring内部的
ThreadPoolTaskExecutor
作为调度器。