Instance Propertygrpc-swift 2.0.0GRPCCore
maxTokens
The initial, and maximum number of tokens.
var maxTokens: Int
The initial, and maximum number of tokens.
var maxTokens: Int
s8GRPCCore13ServiceConfigV15RetryThrottlingV9maxTokensSivp
What are these?3SSBA
import GRPCCore
A gRPC library for Swift written natively in Swift.
struct RetryThrottling
struct ServiceConfig
Service configuration values.
@frozen struct Int
A signed integer value type.
init(from decoder: any Decoder) throws
init(maxTokens: Int, tokenRatio: Double) throws
Creates a new retry throttling policy.
var tokenRatio: Double
The amount of tokens to add on each successful RPC.