Sharing because I just found out that this exists ...
# compose
z
Sharing because I just found out that this exists and lets you query values of a composition local from a new composition local!
Copy code
fun <T> compositionLocalWithComputedDefaultOf(
    defaultComputation: CompositionLocalAccessorScope.() -> T
): ProvidableCompositionLocal<T>