docs
5.0.1
common
docs
/
dev.inmo.tgbotapi.bot.settings.limiters
/
RequestLimiter
/
limit
limit
abstract
suspend
fun
<
T
>
limit
(
block
:
suspend
(
)
->
T
)
:
T
Use limit for working of block (like delay between or after, for example)
open
suspend
fun
<
T
:
Any
>
limit
(
request
:
Request
<
T
>
,
block
:
suspend
(
)
->
T
)
:
T