element_kit v0.5.0 ElementKit.API.RateLimit
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
consume(api_key \\ ElementKit.RuntimeConfig.api_key())
consume(api_key()) :: :ok
Link to this function
default_reset_at()
Link to this function
handle_headers(api_key \\ ElementKit.RuntimeConfig.api_key(), headers)
Link to this function
init_ets()
Link to this function
next_cooldown(api_key \\ ElementKit.RuntimeConfig.api_key())
next_cooldown(api_key()) :: non_neg_integer()
Link to this function