runExceptionHandler

suspend fun TgUpdateHandler.runExceptionHandler(dispatcher: CoroutineDispatcher = PROCESSING_DISPATCHER, delay: Long = 100, block: ExceptionHandler): Job

Runs exception handler loop.

Parameters

dispatcher

Dispatcher used for running handler.

delay

Delay after each handling iteration.

block

Handling action.