CommonLimiter

class CommonLimiter(lockCount: Int, regenTime: MilliSeconds, scope: CoroutineScope) : RequestLimiter

Functions

limit
Link copied to clipboard
common
open suspend override fun <T> limit(block: suspend () -> T): T

Use limit for working of block (like delay between or after, for example)