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

Turn with_reliable_init into a build function #31

Open
mjhouse opened this issue Apr 27, 2023 · 0 comments
Open

Turn with_reliable_init into a build function #31

mjhouse opened this issue Apr 27, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mjhouse
Copy link
Owner

mjhouse commented Apr 27, 2023

As it stands, with_reliable_init is supposed to be called during construction, as closely as possible to build. Rather than worry about the order of the with_* methods, maybe it should just be another, mutually-exclusive build function that internally calls the first build, then toggles the display some number of times, then returns. The name could be something like build_toggled or build_init or maybe build_stable.

It may also be worth adding a initialize or stabilize method that does the same thing, so that the build method could just call the first build, then call the function, then return.

@mjhouse mjhouse added enhancement New feature or request good first issue Good for newcomers labels Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant