ConfigValue

ciris.ConfigValue
See theConfigValue companion class
object ConfigValue

Attributes

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

Members list

Grouped members

Creating Instances

final def async[F[_], A](k: ((Either[Throwable, ConfigValue[F, A]]) => Unit) => F[Option[F[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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala
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.

Attributes

Source
ConfigValue.scala

Type Class Instances

final implicit def configValueFlatMap[F[_]]: FlatMap[[_] =>> ConfigValue[F, _$22]]

Attributes

Source
ConfigValue.scala
final implicit def configValueNonEmptyParallel[G[_]]: Aux[[_] =>> ConfigValue[G, _$28], [_] =>> Type[G, _$29]]

Attributes

Source
ConfigValue.scala
final implicit def configValueParApply[F[_]]: Apply[[_] =>> Type[F, _$25]]

Attributes

Source
ConfigValue.scala

Newtypes

object Par

Attributes

Source
ConfigValue.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Par.type
final type Par[F[_], A] = Type[F, A]

Newtype for parallel composition of configuration values.

Newtype for parallel composition of configuration values.

Attributes

Source
ConfigValue.scala

Value members

Concrete methods

final def missing[A](description: => String): ConfigValue[Effect, A]

Alias for ConfigValue.missing(ConfigKey(description)).

Alias for ConfigValue.missing(ConfigKey(description)).

Attributes

Source
ConfigValue.scala