FlagSource

zio.blocks.config.FlagSource
See theFlagSource companion trait
object FlagSource

Attributes

Companion
trait
Source
FlagSource.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
FlagSource.type

Members list

Type members

Classlikes

object Registry

Global registry of FlagSource instances. Thread-safe. Sources are iterated in registration order so that the first-registered source wins when multiple sources resolve the same flag name.

Global registry of FlagSource instances. Thread-safe. Sources are iterated in registration order so that the first-registered source wins when multiple sources resolve the same flag name.

Attributes

Source
FlagSource.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Registry.type

Value members

Concrete methods

def fromMap(map: Map[String, String], id: String = ...): FlagSource

Create a FlagSource backed by an in-memory map. Useful for testing.

Create a FlagSource backed by an in-memory map. Useful for testing.

Attributes

Source
FlagSource.scala