computeFromState

abstract suspend fun ComputedValueContext.computeFromState(state: TState): T(source)

Runs the computation, given its state, within a ComputedValueContext containing the value of all declared dependencies. Returns the computed value.

This method is called instead of compute when computing stateful computed values.