docs
common
docs
/
dev.inmo.tgbotapi.bot.settings.limiters
/
RequestLimiter
Request
Limiter
common
interface
RequestLimiter
Content copied to clipboard
Functions
Inheritors
Functions
limit
Link copied to clipboard
common
abstract
suspend
fun
<
T
>
limit
(
block
:
suspend
(
)
->
T
)
:
T
Content copied to clipboard
Use limit for working of block (like delay between or after, for example)
Inheritors
CommonLimiter
Link copied to clipboard
ExceptionsOnlyLimiter
Link copied to clipboard
PowLimiter
Link copied to clipboard