Companion
object Companion
Functions
Link copied to clipboard
inline operator fun invoke(keepers: Iterable<TelegramAPIUrlsKeeper>, crossinline builder: KtorRequestsExecutorBuilder.(TelegramAPIUrlsKeeper) -> Unit = {}, noinline botSelector: suspend List<TelegramBot>.(currentBotIndex: Int, t: Throwable?) -> TelegramBot = { i, _ ->
getOrElse(i + 1) { first() }
}, noinline onClose: (List<TelegramBot>) -> Unit? = null): SimpleMultiServerRequestsExecutor
inline operator fun invoke(tokens: Iterable<Pair<String, String>>, crossinline builder: KtorRequestsExecutorBuilder.(Pair<String, String>) -> Unit = {}, noinline botSelector: suspend List<TelegramBot>.(currentBotIndex: Int, t: Throwable?) -> TelegramBot = { i, _ ->
getOrElse(i + 1) { first() }
}, noinline onClose: (List<TelegramBot>) -> Unit? = null): SimpleMultiServerRequestsExecutor
inline operator fun invoke(tokens: Iterable<String>, crossinline builder: KtorRequestsExecutorBuilder.(String) -> Unit = {}, noinline botSelector: suspend List<TelegramBot>.(currentBotIndex: Int, t: Throwable?) -> TelegramBot = { i, _ ->
getOrElse(i + 1) { first() }
}, noinline onClose: (List<TelegramBot>) -> Unit? = null): SimpleMultiServerRequestsExecutor