initState

abstract suspend override fun ComputedValueContext.initState(): TState(source)

Initialises and returns the computed value's state, within a ComputedValueContext containing the values of all declared dependencies.

This method is called whenever a new value that needs to be computed by this computed value is initialised.