default
fun default(limit: Int, refillPeriod: Duration, initialSize: Int = limit, clock: () -> Long = ::getTimeMillis): RateLimiter
An implementation of RateLimiter that starts with limit tokens, and will be refilled every refillPeriod.
Note: initialSize parameter is ignored and will be removed in the future.