kt-mvvm / com.dukescript.api.kt / Model / observable

observable

fun <T> observable(type: Class<T>, initialValue: T, onChange: () -> Unit): Writable<T>

Helper method. Called from com.dukescript.api.kt.observable.