child

abstract fun <R> child(defaultValue: R, block: suspend StateContext.(T, prev: R) -> R): State<R>
open fun <R> child(defaultValue: (T) -> R, block: suspend StateContext.(T, prev: R) -> R): State<R>
abstract fun <R> child(block: (T) -> R): State<R>