riverside v1.2.5 Riverside.Session.TransmissionLimitter

Link to this section Summary

Link to this section Types

Link to this type

t()
t() :: %Riverside.Session.TransmissionLimitter{
  count: non_neg_integer(),
  started_at: non_neg_integer()
}

Link to this section Functions

Link to this function

countup(limitter, duration, capacity)
countup(t(), non_neg_integer(), non_neg_integer()) ::
  {:ok, t()} | {:error, :too_many_messages}

Link to this function

new()
new() :: t()