replaceModel

abstract fun replaceModel(model: M)

Replace which model the controller should start from.

Parameters

model

the model with the state the controller should start from

Throws

if the loop is running