riverside v1.0.1 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}