Spectator::Lazy(T)
Inherits Struct / Value / Object
Lazily stores a value.
Constructors
new
SourceInstance methods
get
Retrieves the value, if it was previously fetched. On the first invocation of this method, it will yield. The block should return the value to store. Subsequent calls will return the same value and not yield.
initialize
Source