proxy

fun <E : EventListener> E.proxy(handleMatch: suspend EventListenerProcessingContext.(E) -> Boolean = { it.match(this) }, handleInvoke: suspend EventListenerProcessingContext.(E) -> EventResult): EventListener

提供一层包装来代理目标监听函数。