zio.blocks.config.StaticFlag
See theStaticFlag companion object
A flag whose value is resolved exactly once at class-load time and never changes.
Intended to be extended by Scala object definitions:
object MyFlag extends StaticFlag[Int](42)
Resolution order: FlagSource registry → system property → environment variable → default. Throws at class load on parse/validation failure (fail-fast).
Attributes
- Companion
- object
- Source
- StaticFlag.scala
- Graph
-
- Supertypes
Members list
In this article