Resolves a Lazy reference to its value.
Calls a no-arg factory to obtain the value it stands for, or returns a plain value unchanged, so a caller handed a Lazy reference can work with the value it denotes. The result is not cached: a factory runs on every call.
The type of the resolved value
The value, or the no-arg factory computing it
The value the reference stands for
lazy for the converse, deferring a Lazy reference rather than forcing it
Resolves a Lazy reference to its value.
Calls a no-arg factory to obtain the value it stands for, or returns a plain value unchanged, so a caller handed a Lazy reference can work with the value it denotes. The result is not cached: a factory runs on every call.