withMaxIterations

open override fun withMaxIterations(maxIterations: Int): StateMachineTool<S>

Create a copy with a different max iterations limit.