ConfigValue

ciris.ConfigValue
See theConfigValue companion class
object ConfigValue

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Par

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Par.type

Types

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

Newtype for parallel composition of configuration values.

Newtype for parallel composition of configuration values.

Attributes

Value members

Concrete methods

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

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

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

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

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

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

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

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

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

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

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

Attributes

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

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

Implicits

Implicits

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

Attributes

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

Attributes

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

Attributes