Package-level declarations
CSProperty<T> — observable values with onChange, computed, two-way connect, pausable updates and Kotlin delegate helpers.
Types
Link copied to clipboard
class CSActionIsRunning(parent: CSHasDestruct, actions: CSProperty<Boolean>) : CSPropertyWrapper<Boolean>
Link copied to clipboard
class CSAtomicProperty<T>(parent: CSHasDestruct? = null, value: T, onChange: (value: T) -> Unit? = null) : CSPropertyBase<T>
Link copied to clipboard
Link copied to clipboard
class CSLateReadOnlyProperty<T>(parent: CSHasDestruct, create: () -> CSValue<T>) : ReadOnlyProperty<Any?, T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class CSPropertyBase<T>(val parent: CSHasDestruct? = null, val onChange: (value: T) -> Unit? = null) : CSModel, CSProperty<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class CSSafePropertyImpl<T>(parent: CSHasDestruct, value: T, onChangeUnsafe: (value: T) -> Unit? = null) : CSPropertyBase<T> , CSSafeProperty<T>
Link copied to clipboard
Link copied to clipboard
class CSSafeWeakProperty<T>(parent: CSHasDestruct, value: T? = null, onChangeUnsafe: (value: T?) -> Unit? = null) : CSPropertyBase<T?> , CSSafeProperty<T?>
Link copied to clipboard
Link copied to clipboard
abstract class CSSuspendPropertyBase<T>(val parent: CSHasDestruct? = null, val onChange: suspend (value: T) -> Unit = {}) : CSModel, CSSuspendProperty<T>
Link copied to clipboard
class CSSuspendPropertyImpl<T>(value: T, onApply: suspend (value: T) -> Unit = { }) : CSSuspendPropertyBase<T>
Link copied to clipboard
abstract class CSSuspendPropertyWrapper<T>(parent: CSHasDestruct? = null) : CSModel, CSSuspendProperty<T>
Link copied to clipboard
class CSWeakProperty<T>(value: T? = null, onChange: (value: T?) -> Unit? = null) : CSPropertyBase<T?>
Functions
Link copied to clipboard
inline fun <T, V> CSHasChangeValue<T>.computed(parent: CSHasRegistrations? = null, crossinline child: (T) -> CSProperty<V>, noinline onChange: ArgFun<V>? = null): CSProperty<V>
inline fun <T, V> CSProperty<T>.computed(parent: CSHasRegistrations? = null, crossinline from: (T) -> V, crossinline to: (V) -> T, noinline onChange: ArgFun<V>? = null): CSProperty<V>
inline fun <T, V> CSProperty<T>.computed(parent: CSHasRegistrations? = null, crossinline get: (T) -> V, crossinline set: (CSProperty<T>, V) -> Unit, noinline onChange: ArgFun<V>? = null): CSProperty<V>
Link copied to clipboard
fun CSProperty<Int>.computedAsPercentOf(parent: CSHasRegistrations, max: Int = 100): CSProperty<Float>
Link copied to clipboard
inline fun <T> CSProperty<T>.computedFrom(parent: CSHasRegistrations? = null, crossinline from: (T) -> T, noinline onChange: ArgFun<T>? = null): CSProperty<T>
Link copied to clipboard
inline fun <T> CSProperty<T>.computedTo(parent: CSHasRegistrations? = null, crossinline to: (T) -> T, noinline onChange: ArgFun<T>? = null): CSProperty<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard