EventListenerInterceptor

事件监听函数拦截器。与 EventProcessingInterceptor 不同,EventListenerInterceptor 则针对一次事件处理流程中的 每一个 监听函数 进行独立拦截。

对于不支持挂起函数的实现方提供了 BlockingEventListenerInterceptor,以阻塞的 BlockingEventListenerInterceptor.doIntercept 来代替 intercept.

See also

Types

Link copied to clipboard
Link copied to clipboard

EventListenerInterceptor 针对于监听函数执行的拦截点。

Functions

Link copied to clipboard
abstract suspend override fun intercept(context: EventListenerInterceptor.Context): EventResult

对当前指定的拦截内容进行处理。

Properties

Link copied to clipboard

监听函数拦截器的拦截点.

Link copied to clipboard
open val priority: Int

优先级。

Inheritors

Link copied to clipboard