AbstractEventDispatcherConfiguration

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

用于 EventDispatcher 中进行事件调度的协程上下文。每一次事件处理都会被切换至此上下文中。 coroutineContext 会作为调度事件时候使用的调度器, 事件在处理的时候会被切换至此上下文中(例如使用其中的调度器等)。

Functions

Link copied to clipboard
open override fun addDispatchInterceptor(propertiesConsumer: ConfigurerFunction<EventDispatchInterceptorRegistrationProperties>?, interceptor: EventDispatchInterceptor)

添加一个事件调度拦截器与它可能存在的配置信息。

Link copied to clipboard
open override fun addInterceptor(propertiesConsumer: ConfigurerFunction<EventInterceptorRegistrationProperties>?, interceptor: EventInterceptor)
open fun addInterceptor(interceptor: EventInterceptor)

添加一个拦截器与它可能存在的配置信息。