initState

abstract suspend fun TContext.initState(): TState(source)

Initialises and returns the computation's state, within a TContext containing the values of all declared dependencies.

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