Constructor
new Lazy(gen)
This contains a single value that is lazily generated when it is first requested. This can store any value except "undefined".
Parameters:
Name | Type | Description |
---|---|---|
gen |
function |
- Source:
Members
Methods
reset()
Resets the value of the lazy function, so it has to be remade.
- Source: