Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
btkostner authored Apr 10, 2024
1 parent c24e4b1 commit c5d7432
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/buffy/throttle_and_timed.ex
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ defmodule Buffy.ThrottleAndTimed do
end

@doc """
Returns the amount of jitter in milliseconds to add to the throttle time.
By default, this is `:infinity` which causes this module to function
just like `Throttle`.
Returns the amount of time in milliseconds to wait while inbox is empty
until sending a `:timeout` message. By default, this is `:infinity`
which causes this module to function just like `Throttle`.
"""
@impl Buffy.ThrottleAndTimed
@spec get_loop_interval(Buffy.ThrottleAndTimed.args()) :: Buffy.ThrottleAndTimed.loop_interval()
Expand Down

0 comments on commit c5d7432

Please sign in to comment.