loop
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.
Once done configuring the loop you can start the loop using MobiusLoop.Factory.startFrom
Return
a MobiusLoop.Builder instance that you can further configure before starting the loop
Parameters
update
the Update function of the loop
effectHandler
the Connectable effect handler of the loop