BlockingEventFilter

事件过滤器。 为不支持挂起函数(例如Java)的场景而提供的非挂起阻塞过滤器。

See also

Functions

Link copied to clipboard
open suspend override fun test(context: EventListenerProcessingContext): Boolean

过滤器的检测函数。通过 EventProcessingContext 来验证是否需要处理当前事件。

Link copied to clipboard
abstract override fun testBlocking(context: EventListenerProcessingContext): Boolean

过滤器的检测函数。通过 EventProcessingContext 来验证是否需要处理当前事件。

Properties

Link copied to clipboard
open val priority: Int

优先级。