runtime
fun <Model, Msg, Props> runtime( init: () -> Pair<Model, Effect<Msg>>, update: (Msg, Model) -> Pair<Model, Effect<Msg>>, view: (Model, Dispatch<Msg>) -> Props, render: (Props) -> Any?, runtimeContext: CoroutineContext = Dispatchers.Default, renderContext: CoroutineContext = Dispatchers.Main, effectContext: CoroutineContext = Dispatchers.Default): Job
Content copied to clipboard
Create a runtime.