Companion

Factory for RetryBudget.

Functions

Link copied to clipboard
suspend fun create(config: RetryBudgetConfig = RetryBudgetConfig()): RetryBudget

Creates a new RetryBudget, starting fully topped up at RetryBudgetConfig.maxTokens.