ConfigValue

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

object Par

Types

final type Par[F[_], A] = Type[F, A]

Newtype for parallel composition of configuration values.

Newtype for parallel composition of configuration values.

Value members

Concrete methods

final def async[F[_], A](k: (Either[Throwable, ConfigValue[F, A]] => Unit) => Unit): ConfigValue[F, A]

Returns a new ConfigValue which loads a configuration value using a callback.

Returns a new ConfigValue which loads a configuration value using a callback.

final def blocking[F[_], A](value: => ConfigValue[F, A]): ConfigValue[F, A]

Returns a new ConfigValue which loads the specified blocking value.

Returns a new ConfigValue which loads the specified blocking value.

final def default[A](value: A): ConfigValue[Effect, A]

Returns a new ConfigValue with the specified default value.

Returns a new ConfigValue with the specified default value.

final def eval[F[_], A](value: F[ConfigValue[F, A]]): ConfigValue[F, A]

Returns a new ConfigValue which evaluates the effect for the specified value.

Returns a new ConfigValue which evaluates the effect for the specified value.

final def failed[A](error: ConfigError): ConfigValue[Effect, A]

Returns a new ConfigValue which failed with the specified error.

Returns a new ConfigValue which failed with the specified error.

final def loaded[A](key: ConfigKey, value: A): ConfigValue[Effect, A]

Returns a new ConfigValue which loaded successfully with the specified value.

Returns a new ConfigValue which loaded successfully with the specified value.

final def missing[A](key: ConfigKey): ConfigValue[Effect, A]

Returns a new ConfigValue which failed because the value was missing.

Returns a new ConfigValue which failed because the value was missing.

final def resource[F[_], A](resource: Resource[F, ConfigValue[F, A]]): ConfigValue[F, A]

Returns a new ConfigValue for the specified resource.

Returns a new ConfigValue for the specified resource.

final def suspend[F[_], A](value: => ConfigValue[F, A]): ConfigValue[F, A]

Returns a new ConfigValue which suspends loading of the specified value.

Returns a new ConfigValue which suspends loading of the specified value.

Implicits

Implicits

final implicit def configValueFlatMap[F[_]]: FlatMap[[_] =>> ConfigValue[F, _$19]]
final implicit def configValueNonEmptyParallel[G[_]]: Aux[[_] =>> ConfigValue[G, _$25], [_] =>> Type[G, _$26]]
final implicit def configValueParApply[F[_]]: Apply[[_] =>> Type[F, _$22]]