struct

Spectator::Lazy(T)

Inherits Struct / Value / Object

Lazily stores a value.

Constructors

Instance 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.

Source
initialize
Source