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

Introduce .initializeNow() #40

Open
KyNorthstar opened this issue Dec 26, 2024 · 0 comments
Open

Introduce .initializeNow() #40

KyNorthstar opened this issue Dec 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@KyNorthstar
Copy link
Collaborator

Sometimes a developer wants to guarantee a value is initialized, but doesn't want to read it.

While this can be achieved by blackholeing the value, and might be achieved by _ = _lazyField.wrappedValue, this package should have some built-in designated way to do this

@KyNorthstar KyNorthstar added the enhancement New feature or request label Dec 26, 2024
@KyNorthstar KyNorthstar added this to the 6.x milestone Dec 26, 2024
@KyNorthstar KyNorthstar self-assigned this Dec 26, 2024
KyNorthstar added a commit that referenced this issue Dec 26, 2024
Implemented it everywhere in this package, added tests.

Also moved tests to the proper folder.
KyNorthstar added a commit that referenced this issue Dec 27, 2024
Implemented it everywhere in this package, added tests.

Also moved tests to the proper folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant