action
fun Triple<CSHasChange<*>, CSHasChange<*>, CSHasChange<*>>.action(onChange: () -> Unit): CSRegistration
inline fun <ParentValue, ChildValue> CSHasChangeValue<ParentValue>.action(crossinline child: (ParentValue) -> CSHasChangeValue<ChildValue>, crossinline action: (ChildValue) -> Unit): CSRegistration
inline fun <ParentValue, ChildValue> CSHasChangeValue<ParentValue>.action(crossinline nullableChild: (ParentValue) -> CSHasChangeValue<ChildValue>?, crossinline action: (ChildValue?) -> Unit): CSRegistration
inline fun <T : CSHasChangeValue<Value>, Value> List<T>.action(crossinline function: ArgFun<List<Value>>): CSRegistration
inline fun <Argument1, Argument2> Pair<CSHasChangeValue<out Argument1>, CSHasChangeValue<out Argument2>>.action(crossinline onAction: (Argument1, Argument2) -> Unit): CSRegistration
fun <Argument1, Argument2> Pair<CSHasChangeValue<out Argument1>, CSHasChangeValue<Argument2>>.action(onAction: () -> Unit): CSRegistration
fun <Argument1, Argument2, Argument3> Triple<CSHasChangeValue<Argument1>, CSHasChangeValue<Argument2>, CSHasChangeValue<Argument3>>.action(onAction: (Argument1, Argument2, Argument3) -> Unit): CSRegistration
fun <Argument1, Argument2, Argument3, Argument4> CSQuadruple<CSHasChangeValue<Argument1>, CSHasChangeValue<Argument2>, CSHasChangeValue<Argument3>, CSHasChangeValue<Argument4>>.action(onAction: (Argument1, Argument2, Argument3, Argument4) -> Unit): CSRegistration
fun <Argument1, Argument2, Argument3, Argument4, Argument5> CSQuintuple<CSHasChangeValue<Argument1>, CSHasChangeValue<Argument2>, CSHasChangeValue<Argument3>, CSHasChangeValue<Argument4>, CSHasChangeValue<Argument5>>.action(onAction: (Argument1, Argument2, Argument3, Argument4, Argument5) -> Unit): CSRegistration
fun <Argument1, Argument2, Argument3, Argument4, Argument5, Argument6> CSSixtuple<CSHasChangeValue<Argument1>, CSHasChangeValue<Argument2>, CSHasChangeValue<Argument3>, CSHasChangeValue<Argument4>, CSHasChangeValue<Argument5>, CSHasChangeValue<Argument6>>.action(onAction: (Argument1, Argument2, Argument3, Argument4, Argument5, Argument6) -> Unit): CSRegistration
fun <Argument1, Argument2, Argument3, Argument4, Argument5, Argument6, Argument7> CSSeventuple<CSHasChangeValue<Argument1>, CSHasChangeValue<Argument2>, CSHasChangeValue<Argument3>, CSHasChangeValue<Argument4>, CSHasChangeValue<Argument5>, CSHasChangeValue<Argument6>, CSHasChangeValue<Argument7>>.action(onAction: (Argument1, Argument2, Argument3, Argument4, Argument5, Argument6, Argument7) -> Unit): CSRegistration
inline fun CSHasChangeValue<Boolean>.action(crossinline onTrue: (CSRegistration) -> Unit, crossinline onFalse: (CSRegistration) -> Unit): CSRegistration
Register edge handlers for a boolean observable and invoke once for the current state.
Calls onTrue when value becomes true and onFalse when it becomes false. Invocation for the current state happens immediately; thread-safe. Returns a CSRegistration to cancel the registration.
Return
CSRegistration for this registration
Parameters
onTrue
called when value becomes true
onFalse
called when value becomes false