increaseBy
fun increaseBy(maximumConcurrency: Int, minimumConcurrency: Int = 1, factor: (Int) -> Int): ConcurrencyStrategy
Creates a custom concurrency strategy that increases concurrency based on the provided factor function.
Return
A ConcurrencyStrategy with the specified custom increase strategy.
Parameters
maximumConcurrency
The maximum concurrency level allowed.
minimumConcurrency
The minimum concurrency level allowed (defaults to 1).
factor
A function that calculates the next concurrency level based on the current level.