A Throttle process allows you to limit how many times a function may be called in a given interval. This is especially useful when building API clients for rate-limited services.
If available in Hex, the package can be installed
by adding throttle
to your list of dependencies in mix.exs
:
def deps do
[{:throttle, "~> 0.1.0"}]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/throttle.