All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.github.insanusmokrassar.TelegramBotAPI.bot.settings.limiters.RequestLimiter.kt Maven / Gradle / Ivy

package com.github.insanusmokrassar.TelegramBotAPI.bot.settings.limiters

interface RequestLimiter {
    /**
     * Use limit for working of block (like delay between or after, for example)
     */
    suspend fun  limit(block: suspend () -> T): T
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy