AgentPool::AgentPool(T)
Inherits Reference < Object
Constructors
new(max_pool_size : Int32 = 0, max_idle_pool_size : Int32 = 1, checkout_timeout : Float64 = 5.0, retry_attempts : Int32 = 1, retry_delay : Float64 = 0.2, idle_ttl : Float64 = 0.0, &factory : String -> T)
SourceInstance methods
checkout(index) : T
Sourcecheckout
Sourcerelease(resource : T, index : String) : Nil
Source