Loop

constructor(model: TModel, renderer: Renderer<TModel, TState>, args: TArgs? = null, firstAction: TAction? = null, dependency: TDependency? = null, effectContext: CoroutineContext = DispatcherProvider.IO)

Parameters

model

the initial model

renderer

transform model into state

args

input arguments

firstAction

action to emit when loop is constructed

dependency

dependency container

effectContext

dispatcher for launching effects