Mobius
object Mobius
Functions
Link copied to clipboard
fun <M, E, F> controller(loopFactory: MobiusLoop.Factory<M, E, F>, defaultModel: M): MobiusLoop.Controller<M, E>
fun <M, E, F> controller(loopFactory: MobiusLoop.Factory<M, E, F>, defaultModel: M, init: Init<M, F>): MobiusLoop.Controller<M, E>
fun <M, E, F> controller(loopFactory: MobiusLoop.Factory<M, E, F>, defaultModel: M, modelRunner: WorkRunner): MobiusLoop.Controller<M, E>
fun <M, E, F> controller(loopFactory: MobiusLoop.Factory<M, E, F>, defaultModel: M, init: Init<M, F>, modelRunner: WorkRunner): MobiusLoop.Controller<M, E>
Create a MobiusLoop.Controller that allows you to start, stop, and restart MobiusLoops.
Link copied to clipboard
fun <M, E, F> loop(update: Update<M, E, F>, effectHandler: Connectable<F, E>): MobiusLoop.Builder<M, E, F>
Create a MobiusLoop.Builder to help you configure a MobiusLoop before starting it.