refresh

fun refresh(): T

Discards any cached instance, recomputes eagerly, and returns the fresh value.

Use this when the underlying data changed and the next reader must not observe a stale cached instance.

Return

the newly computed instance, now cached.