component

2016-11-18T16:07:54.000253Z

What is a good pattern for creating configuration at system-start (IE configuration that can't be created statically, and doesn't require side-effects, as components normally do) http://stackoverflow.com/questions/40681456/in-component-whats-the-best-pattern-for-creating-configuration-at-system-start

seancorfield 2016-11-18T18:16:28.000255Z

Just read it in, inside your start function.

seancorfield 2016-11-18T18:16:53.000256Z

Then assoc it into your component.

stuartsierra 2016-11-18T19:04:58.000257Z

or read it in before calling start and use the configuration data to decide how to construct the system.