selectAsync

fun <R> selectAsync(initialValue: R, transform: suspend (T?) -> R): StateFlow<R>(source)

Computes an expensive derived state asynchronously; reads reuse its last completed value.