Documentation / dataflow / com.femastudios.dataflow.util / lazyFieldOf
Go to reference

lazyFieldOf

fun <T> lazyFieldOf(initialValueComputer: () -> T): Field<T>

Constructs a constant lazy Field whose value is computed using initialValueComputer.

The value is computed the first time the value is accessed.