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

Support adding constants to a config #2

Open
ferdinand-beyer opened this issue Jul 18, 2022 · 1 comment
Open

Support adding constants to a config #2

ferdinand-beyer opened this issue Jul 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ferdinand-beyer
Copy link
Owner

  • Load config file
  • Build an init config
  • Add loaded config to the init config

Convenience; creates a component with start function (constantly x).

@ferdinand-beyer ferdinand-beyer added the enhancement New feature or request label Aug 15, 2022
@ferdinand-beyer
Copy link
Owner Author

Maybe generalise to have different "starting" (providing?) kinds:

  • Default: Singleton. Initialise an instance, store it in the system map, provide it to dependents
  • Prototype: Generate an instance whenever it is requested.

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