SimpleListenerHost
abstract class SimpleListenerHost @JvmOverloads constructor(coroutineContext: CoroutineContext = EmptyCoroutineContext) : ListenerHost
Content copied to clipboard
携带一个异常处理器的 ListenerHost.
See also
Constructors
Link copied to clipboard
fun SimpleListenerHost(coroutineContext: CoroutineContext = EmptyCoroutineContext)
Content copied to clipboard
Functions
Link copied to clipboard
open fun handleException(context: CoroutineContext, exception: Throwable)
Content copied to clipboard
处理事件处理中未捕获的异常. 在构造器中的 coroutineContext 未提供 CoroutineExceptionHandler 情况下必须继承此函数.