RateLimit

object RateLimit
class Object
trait Matchable
class Any

Type members

Types

type Clock = () => Long

Value members

Concrete methods

def fn[A, B](run: A => B, maxPerWindow: Int, windowMs: Long, clock: Clock): A => Option[B]
def fn0[A](run: () => A, maxPerWindow: Int, windowMs: Long, clock: Clock): () => Option[A]

Concrete fields