Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy parameter {} docs: computed first time "used" -> "declared" #27

Open
BenWoodworth opened this issue May 21, 2024 · 0 comments
Open
Labels
documentation Improvements or additions to documentation

Comments

@BenWoodworth
Copy link
Owner

Behavior has changed since these docs were written, so it's no longer accurate.

Change:

Declares a parameter with the given lazyArguments. The arguments are only computed the first time the parameter is used, and not at all if used declared.
This parameter function is useful to avoid computing the arguments every iteration. Instead, these arguments will only be computed the first time the parameter is used as needed.

@BenWoodworth BenWoodworth added the documentation Improvements or additions to documentation label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant